WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] HVM x86_32 PAE guest support on 64-bit Xen

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] HVM x86_32 PAE guest support on 64-bit Xen
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Sat, 18 Feb 2006 18:39:48 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 19 Feb 2006 02:52:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY0eohfLz0jzFEUQCWxiW5JY/23mgAf2rbw
Thread-topic: [Xen-devel] [PATCH] HVM x86_32 PAE guest support on 64-bit Xen
Keir Fraser wrote:
> On 18 Feb 2006, at 00:26, Nakajima, Jun wrote:
> 
>> The patch enables x86_32 PAE unmodified guests on 64-bit Xen when the
>> hvm feature is present. We tested only Linux at this point, and we'll
>> improve the functionality as we test other guests.
>> 
>> The SVM needs the equivalent changes to the vmc.c to get this
>> functionality working, but this patch does not break the build.
> 
> Now that you (wisely) no longer mess with MSR_EFER directly (leaving
> it to the the vmexit/vmentry protocol) can you get rid of the
> VMX_INDEX_MSR_EFER? There's no point in saving/restoring it, since
> it's value will not be different from normal while you run in Xen
> context. 
> 
>   -- Keir
> 

The VMX does not save/restore NXE (bit 11) and SCE (bit 0), and they are
always set in Xen (on machines where VMX is available). So it's possible
that those bits are still effectively on in the guest even after the
guest attempted to clear them (and we ignore such writes). I don't think
bad things can happen practically. We need to check carefully if we
might expose security holes there.

Jun
---
Intel Open Source Technology Center

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel