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

xen-devel

[Top] [All Lists]

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

To: Keir <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] HVM smp guest save/restore support
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: 2007年1月23日 23:34:33 +0800
Cc: Tim <Tim.Deegan@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年1月23日 07:36:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Mutt/1.5.11
Keir,
smp save/restore has been reverted in the changeset 13499:
*****************************************
--- a/xen/common/domain.c Fri Jan 19 11:58:52 2007 +0000
+++ b/xen/common/domain.c Fri Jan 19 12:03:51 2007 +0000
@@ -506,14 +506,6 @@ int set_info_guest(struct domain *d,
 if ( rc == 0 )
 rc = arch_set_info_guest(v, c);
- /*XXX: hvm smp guest restore support */
- if ( rc == 0 &&
- v->vcpu_id != 0 &&
- is_hvm_vcpu(v) &&
- test_and_clear_bit(_VCPUF_down, &v->vcpu_flags) ) {
- vcpu_wake(v);
- }
-
 domain_unpause(d);
 xfree(c.nat);
******************************************
this code wake up all the aps like hvm_bringup_ap, since no IPI for ap when 
restore.
if it's slightly ugly, how about add a similar hypercall like xc_domain_resume?
thanks,
-- 
best rgds,
edwin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] [PATCH] make resend_irq_on_evtchn() non-static , Alex Williamson
Next by Date: [Xen-devel] Re: HVM smp guest save/restore support , Keir Fraser
Previous by Thread: [Xen-devel] [PATCH][HVM] fix save/restore on 64b HV , Zhai, Edwin
Next by Thread: [Xen-devel] Re: HVM smp guest save/restore support , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /