From: Sasha Levin <levinsasha928@gmail.com>
To: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] KVM: Document KVM_NMI
Date: Wed, 07 Dec 2011 13:02:08 +0200 [thread overview]
Message-ID: <1323255728.4009.7.camel@lappy> (raw)
In-Reply-To: <1323254613-29882-1-git-send-email-avi@redhat.com>
On Wed, 2011-12-07 at 12:43 +0200, Avi Kivity wrote:
> Signed-off-by: Avi Kivity <avi@redhat.com>
> ---
> Documentation/virtual/kvm/api.txt | 25 +++++++++++++++++++++++++
> 1 files changed, 25 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
> index 7945b0b..38f68ca 100644
> --- a/Documentation/virtual/kvm/api.txt
> +++ b/Documentation/virtual/kvm/api.txt
> @@ -1450,6 +1450,31 @@ is supported; 2 if the processor requires all virtual machines to have
> an RMA, or 1 if the processor can use an RMA but doesn't require it,
> because it supports the Virtual RMA (VRMA) facility.
>
> +4.64 KVM_NMI
> +
> +Capability: KVM_CAP_USER_NMI
> +Architectures: x86
> +Type: vcpu ioctl
> +Parameters: none
> +Returns: 0 on success, -1 on error
> +
> +Queues an NMI on the thread's vcpu. Note this is well defined only
> +when KVM_CREATE_IRQCHIP has not been called, since this is an interface
> +between the virtual cpu core and virtual local APIC. After KVM_CREATE_IRQCHIP
> +has been called, this interface is completely emulated within the kernel.
> +
> +To use this to emulate the LINT1 input with KVM_CREATE_IRQCHIP, use the
> +following algorithm:
> +
> + - pause the vpcu
I don't see the QEMU patch doing a stop before grabbing LAPIC state. Or
does it happen somewhere before?
--
Sasha.
next prev parent reply other threads:[~2011-12-07 11:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 10:43 [PATCH] KVM: Document KVM_NMI Avi Kivity
2011-12-07 11:02 ` Sasha Levin [this message]
2011-12-07 12:12 ` Avi Kivity
2011-12-07 12:20 ` Sasha Levin
2011-12-07 12:31 ` Avi Kivity
2011-12-07 12:37 ` Sasha Levin
2011-12-07 12:42 ` Avi Kivity
2011-12-14 18:07 ` Marcelo Tosatti
-- strict thread matches above, loose matches on Subject: below --
2011-12-06 20:50 Sasha Levin
2011-12-07 10:21 ` Avi Kivity
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=1323255728.4009.7.camel@lappy \
--to=levinsasha928@gmail.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.