public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] x86: User space NMI injection
@ 2008-09-15 16:28 Jan Kiszka
  2008-09-15 16:38 ` [PATCH 2/3] VMX: Provide support for user space injected NMIs Jan Kiszka
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jan Kiszka @ 2008-09-15 16:28 UTC (permalink / raw)
  To: kvm-devel; +Cc: Yang, Sheng, Avi Kivity

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-15 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-15 16:28 [PATCH 0/3] x86: User space NMI injection Jan Kiszka
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox