From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] Allow wake up of offline vcpu via nmi-ipi Date: Wed, 18 Jan 2012 09:29:20 +0000 Message-ID: References: <88318e850353da840fe7.1326876484@nehalem1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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: Juergen Gross , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18/01/2012 08:48, "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. I think the vcpu_kick() path is still needed where the vcpu is HLTed with interrupts enabled. I'll have to give this a bit of thought... Probably clear_bit(_VPF_down) vcpu_wake() vcpu_kick() Would work just fine. -- Keir > Signed-off-by: juergen.gross@ts.fujitsu.com > > > 1 file changed, 4 insertions(+), 1 deletion(-) > xen/arch/x86/hvm/vlapic.c | 5 ++++- > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel