From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [PATCH] Allow wake up of offline vcpu via nmi-ipi Date: Wed, 18 Jan 2012 10:07:02 +0100 Message-ID: <4F168BB6.7090905@ts.fujitsu.com> References: <88318e850353da840fe7.1326876484@nehalem1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <88318e850353da840fe7.1326876484@nehalem1> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 01/18/2012 09:48 AM, Juergen Gross wrote: > On a real machine a cpu disabled via hlt with interrupts disabled can be > reactivated via a nmi ipi. Enable the hypervisor to do this for hvm, too. > > Signed-off-by: juergen.gross@ts.fujitsu.com > > > 1 file changed, 4 insertions(+), 1 deletion(-) > xen/arch/x86/hvm/vlapic.c | 5 ++++- BTW: I was not able to reactivate a vcpu via INIT/SIPI/SIPI sequence. It works on initial system boot when the target vcpu is activated the first time. If I deactivate a vcpu and try to activate it again it will start to run, but it is not starting at the specified entry point (at least it isn't performing the first instruction there). Is there some special initialization needed to make this work? Do I have to reset something on the vcpu before deactivating it? Juergen -- Juergen Gross Principal Developer Operating Systems PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html