From: Keir Fraser Subject: Re: Re: HVM smp guest save/restore support Date: Thu, 25 Jan 2007 12:29:06 +0000 Message-ID: References: <20070125033054.GE15711@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: <20070125033054.GE15711@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 Applied, thanks. On 25/1/07 03:30, "Zhai, Edwin" wrote: > thanks for your comments, > update it. > > thanks, > > On Wed, Jan 24, 2007 at 06:32:36PM +0000, Keir Fraser wrote: >> 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 >>