From: Keir Fraser Subject: Re: Re: HVM smp guest save/restore support Date: Wed, 24 Jan 2007 18:32:36 +0000 Message-ID: References: <20070124133024.GC15711@edwin-srv.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070124133024.GC15711@edwin-srv.sh.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Zhai, Edwin" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 24/1/07 13:30, "Zhai, Edwin" 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