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] Re: HVM smp guest save/restore support

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: HVM smp guest save/restore support
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 24 Jan 2007 18:32:36 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Jan 2007 10:33:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070124133024.GC15711@xxxxxxxxxxxxxxxxxxxxxx>
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: Acc/5gTdQ0yLUavZEduptAAX8io7RQ==
Thread-topic: [Xen-devel] Re: HVM smp guest save/restore support
User-agent: Microsoft-Entourage/11.2.5.060620
On 24/1/07 13:30, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx> wrote:

>> All hvm vcpu context restore should be done via the new hvm domctl, and the
>> wakeup of APs can be implemented there (rather than in common/ directory).
> 
> how about this patch?
> thanks,

This new piece of code is not VMX specific. Define an hvm_load_cpu_ctxt()
function which executes that new piece of code after calling the VMX/SVM
specific hook function. Also you shouldn't need to check if the vcpu is HVM,
as otherwise you wouldn't be in this function!

 -- Keir


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