xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Juergen Gross <juergen.gross@ts.fujitsu.com>,
	xen-devel@lists.xensource.com
Subject: Re: [PATCH] Allow wake up of offline vcpu via nmi-ipi
Date: Wed, 18 Jan 2012 09:29:20 +0000	[thread overview]
Message-ID: <CB3C4170.28FF8%keir.xen@gmail.com> (raw)
In-Reply-To: <88318e850353da840fe7.1326876484@nehalem1>

On 18/01/2012 08:48, "Juergen Gross" <juergen.gross@ts.fujitsu.com> 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

      parent reply	other threads:[~2012-01-18  9:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18  8:48 [PATCH] Allow wake up of offline vcpu via nmi-ipi Juergen Gross
2012-01-18  9:07 ` Juergen Gross
2012-01-18  9:31   ` Keir Fraser
2012-01-18  9:36     ` Keir Fraser
2012-01-18 10:39       ` Juergen Gross
2012-01-18  9:29 ` Keir Fraser [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB3C4170.28FF8%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=juergen.gross@ts.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).