From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhai, Edwin" Subject: HVM smp guest save/restore support Date: Tue, 23 Jan 2007 23:34:33 +0800 Message-ID: <20070123153433.GA10106@edwin-srv.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Cc: Tim , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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