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] Clear VMCS if reusing after vcpu reset

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Clear VMCS if reusing after vcpu reset
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 30 Apr 2007 15:32:21 +0800
Delivery-date: Mon, 30 Apr 2007 00:30:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C25B5863.68F6%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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceK7hrJaVpsNFsWQeu9LhE5uBSFagACMmDbAAABnYAAAHCupgAAFnKA
Thread-topic: [Xen-devel] [PATCH] Clear VMCS if reusing after vcpu reset
>From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
>Sent: 2007年4月30日 15:25
>
>Well, we actually write lots of zeroes in construct_vmcs(), so it's not like
>we really take advantage of the memset(). And in fact strictly speaking I
>don't think we can -- the only architectural interface to the VMCS is via
>the stupid VMREAD/VMWRITE instructions. We can make no
>assumptions about
>VMCS layout nor, presumably, field encodings (you might choose to
>write 1s
>for 0s and 0s for 1s in the actual in-memory format, for all I know!).
>
> -- Keir

Agree.

Thanks,
Kevin

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