From: Ian Campbell Subject: Re: arch_set_info_guest() and cr1 Date: Thu, 22 Sep 2011 08:32:37 +0100 Message-ID: <1316676757.23371.2.camel@zakaz.uk.xensource.com> References: <20110811190315.1cc6afab@mantra.us.oracle.com> <20110812150115.6047b8c2@mantra.us.oracle.com> <4E45DED5.40602@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E45DED5.40602@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "Xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org (old mail, I know) On Sat, 2011-08-13 at 03:17 +0100, Jeremy Fitzhardinge wrote: > On 08/12/2011 03:01 PM, Mukesh Rathor wrote: > > Ah I see it, during save/restore, it is used. > > Well, I'm trying to keep the option of using PV paging with hybrid, so > > I may need to honor that. But that's phase 2. > > Though it would be nice to re-enable the use of PV writable pagetables > to get access to HAP, and we could do without that. > > Does Xen require that the user pagetable be a proper subset of the > kernel pagetable? If we can assume that and get proper ring protections > in the HVM container, then we can simply ignore the user pagetable (and > would have to if we want to get good syscall performance). IIRC back when I did the (now completely defunct) supervisor mode kernel stuff that was exactly the assumption which was made and it certainly worked in practice (although "require" might be a strong term). Ian.