[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: HVM smp guest save/restore support

  • To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acc/5gTdQ0yLUavZEduptAAX8io7RQ==
  • Thread-topic: [Xen-devel] Re: HVM smp guest save/restore support

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.