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] Pin vcpu for VMX domain

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] Pin vcpu for VMX domain
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Mon, 13 Feb 2006 23:32:01 +0800
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 13 Feb 2006 15:44:15 +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: AcYwfihz+qudLUZYQNyB7OA6QA3cbAAM8Vmg
Thread-topic: [Xen-devel] [PATCH] Pin vcpu for VMX domain
Keir Fraser wrote:
> On 13 Feb 2006, at 03:49, Dong, Eddie wrote:
> 
>>      But I get another issue recently that need it to be done
>> earlier. In VMX domain save/restore case, it pauses the VMX domain
>> and then do states save (and destroy). In this case the
>> arch_vmx_do_resume is not invoked, so it looks like doing
>> smp_call_function earlier has other benefits, any suggestion?
> 
> You should request_clear_vmcs() from within sync_vcpu_execstate().
> That'll need a new 'sync' VMX hook function. As well as fixing save,
> it will also mean you no longer need to VMCLEAR in
> vmx_relinquish_resources() as it will be guaranteed to already be
> done. 
Yes, my prefer too. thanks!
 Eddie

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