All of lore.kernel.org
 help / color / mirror / Atom feed
* HVM smp guest save/restore support
@ 2007-01-23 15:34 Zhai, Edwin
  2007-01-23 15:49 ` Keir Fraser
  0 siblings, 1 reply; 6+ messages in thread
From: Zhai, Edwin @ 2007-01-23 15:34 UTC (permalink / raw)
  To: Keir; +Cc: Tim, xen-devel

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-25 12:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-23 15:34 HVM smp guest save/restore support Zhai, Edwin
2007-01-23 15:49 ` Keir Fraser
2007-01-24 13:30   ` Zhai, Edwin
2007-01-24 18:32     ` Keir Fraser
2007-01-25  3:30       ` Zhai, Edwin
2007-01-25 12:29         ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.