kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: kvm-devel <kvm@vger.kernel.org>
Subject: Re: [PATCH] KVM: x86: Rework user space NMI injection as KVM_CAP_USER_NMI
Date: Sun, 14 Dec 2008 10:10:26 +0200	[thread overview]
Message-ID: <4944BF72.4020703@redhat.com> (raw)
In-Reply-To: <494137CE.3070203@siemens.com>

Jan Kiszka wrote:
> There is no point in doing the ready_for_nmi_injection/
> request_nmi_window dance with user space. First, we don't do this for
> in-kernel irqchip anyway, while the code path is the same as for user
> space irqchip mode. And second, there is nothing to loose if a pending
> NMI is overwritten by another one (in contrast to IRQs where we have to
> save the number). Actually, there is even the risk of raising spurious
> NMIs this way because the reason for the held-back NMI might already be
> handled while processing the first one.
>
> Therefore this patch creates a simplified user space NMI injection
> interface, exporting it under KVM_CAP_USER_NMI and dropping the old
> KVM_CAP_NMI capability. And this time we also take care to provide the
> interface only on archs supporting NMIs via KVM (right now only x86).
>
>   

Thanks; applied, and will fold into the 2.6.29 merge.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2008-12-14  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 15:54 [PATCH] KVM: x86: Rework user space NMI injection as KVM_CAP_USER_NMI Jan Kiszka
2008-12-14  8:10 ` Avi Kivity [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=4944BF72.4020703@redhat.com \
    --to=avi@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    /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).