public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: kvm-devel <kvm@vger.kernel.org>
Cc: "Yang, Sheng" <sheng.yang@intel.com>, Avi Kivity <avi@qumranet.com>
Subject: [PATCH 0/3] x86: User space NMI injection
Date: Mon, 15 Sep 2008 18:28:20 +0200	[thread overview]
Message-ID: <48CE8D24.9070007@siemens.com> (raw)

This series adds support for injecting NMIs from the QEMU user space
into KVM guests. So far NMI injection is limited to the in-kernel APIC
emulation. With the patches applied, the 'nmi <cpu>' monitor command
starts to work as well as NMIs from the user space APIC.

The series adds support for VMX, but SVM-related bits should be easy to
add. Moreover, I must admit that I was not yet able to test the patches
as I post them here because all my Intel boxes lack virtual NMI support
- I hacked cpu_has_virtual_nmis to return 1 unconditionally. All typical
cases (i.e. non-contended NMI deliveries) should have been covered
nevertheless.

I'm still playing with ideas and concepts how to work around that
lacking NMI support in older (but still very present) Intel CPUs. But
whatever the result of this may be, that can also be applied on top of
the current implementation.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux


             reply	other threads:[~2008-09-15 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-15 16:28 Jan Kiszka [this message]
2008-09-15 16:38 ` [PATCH 2/3] VMX: Provide support for user space injected NMIs Jan Kiszka
2008-09-15 16:55 ` [PATCH 1/3] kvm-x86: Support " Jan Kiszka
2008-09-15 16:59 ` [PATCH 3/3] kvm-userspace: Enable user space injected NMI support Jan Kiszka

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=48CE8D24.9070007@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng.yang@intel.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