]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
nVMX: Fix pick-up of uninjected NMIs
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 23 Oct 2013 16:42:15 +0000 (17:42 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Oct 2013 12:14:24 +0000 (13:14 +0100)
commitcd2633c59b6f511effb53e10fa2c1e20b1cec1e7
treefb2422944dcfa2876ea27453ea0530209d3aa651
parentd3134dbf2046076b6e52b05890e812442d5257fb
nVMX: Fix pick-up of uninjected NMIs

__vmx_complete_interrupts stored uninjected NMIs in arch.nmi_injected,
not arch.nmi_pending. So we actually need to check the former field in
vmcs12_save_pending_event. This fixes the eventinj unit test when run
in nested KVM.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c