Skip to content

Fix&Enhance NMI support for KVM - v3

Jan Kiszka kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 38 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11VMX: include all IRQ window exits in statisticsarch/x86/kvm/vmx.c+1 -10 replies
2/11VMX: refactor/fix IRQ and NMI injectability determinationarch/x86/kvm/vmx.c include/asm-x86/kvm_host.h+22 -250 replies
3/11VMX: refactor IRQ and NMI window enablingarch/x86/kvm/vmx.c+32 -460 replies
4/11VMX: fix real-mode NMI supportarch/x86/kvm/vmx.c+13 -00 replies
5/11kvm-x86: Enable NMI Watchdog via in-kernel PIT sourcearch/x86/kvm/i8254.c arch/x86/kvm/irq.h arch/x86/kvm/lapic.c+45 -50 replies
6/11kvm-x86: VCPU with pending NMI is runnabledarch/x86/kvm/x86.c+2 -10 replies
7/11kvm: kick NMI receiving VCPUarch/x86/kvm/lapic.c virt/kvm/ioapic.c+2 -00 replies
8/11kvm-x86: Support for user space injected NMIsarch/x86/kvm/x86.c include/asm-x86/kvm_host.h include/linux/kvm.h+55 -40 replies
9/11VMX: Provide support for user space injected NMIsarch/x86/kvm/vmx.c+33 -02 replies
10/11VMX: work around lacking VNMI supportarch/x86/kvm/vmx.c+111 -5736 replies
11/11kvm: Enable NMI support for userspace irqchiplibkvm/libkvm.c libkvm/libkvm.h qemu/monitor.c +3 more+100 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/11] Fix&Enhance NMI support for KVM - v3

The third revision of this series comes with several bug fixes, both regarding the series itself and existing KVM code. In details:

- break out of in-kernel halt if NMI is pending (patch 6)
- kick NMI receiving VCPU from LAPIC and IOAPIC (patch 7)
- take user space requested NMI window into account for enabling the NMI window notification, same for interrupt window (patch 9)
- drop check for interrupt gate on NMI injection - breaks Windows 2003 and cannot catch all weird guests anyway (patch 10)
- move most soft_vnmi_blocked management into kvm_handle_exit, fixing missed return-to-user on NMI window

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux