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: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Clear VMCS if reusing after vcpu reset
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Mon, 30 Apr 2007 14:48:56 +0800
Delivery-date: Sun, 29 Apr 2007 23:47:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B1DA7@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: AceK7hrJaVpsNFsWQeu9LhE5uBSFagABHAUjAAACQgAAADaN8A==
Thread-topic: [Xen-devel] [PATCH] Clear VMCS if reusing after vcpu reset
>>Which hotplug would that be? I can't see how vmx_create_vmcs() can be
called
>>more than once for any vcpu. It's called during vcpu creation and
that's it
>>afaics. The current check for v->arch.hvm_vmx.vmcs==NULL is therefore
>>redundant.
>>


After Xen 3.0.5, renaming is needed :-)


>Within HVM domain:
>Echo "0" > /sys/devices/system/cpu/cpuN/online;
>Echo "1" > /sys/devices/system/cpu/cpuN/online; 
>
>Hvm_vcpu_reset is invoked as the result of receiving vINIT, which 
>then goes to hvm_vcpu_initialise, vmx_vcpu_initialise, vmx_create_vmcs.
>

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