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][VMX] a small clean to vmx_world_restore

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][VMX] a small clean to vmx_world_restore
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Sat, 13 Oct 2007 18:49:45 +0800
Delivery-date: Sat, 13 Oct 2007 03:50:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C336613D.ED00%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <B30DA1341B0CFA4893EF8A36B40B5C5D01BFEB4B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C336613D.ED00%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgNfqFRSPZ6n/dbRgWjVrQ0bynVxQACBJIHAAAUspA=
Thread-topic: [Xen-devel] [PATCH][VMX] a small clean to vmx_world_restore
If guest exits real mode, in vmx_world_restore, c->cr0 is equal to
guest_cr0.
-Xin 

>I think it's correct as is and changing it in this way could break it.
>Whether a reference is acquired depends on new CR0.PG. Whether 
>a reference
>is dropped depends on old CR0.PG. Which is how the code 
>currently works.
>
> -- Keir
>
>On 13/10/07 10:51, "Li, Xin B" <xin.b.li@xxxxxxxxx> wrote:
>
>> a small clean to vmx_world_restore.
>> Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>

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