]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Move nmi injection failure processing to vm exit path
authorAvi Kivity <avi@qumranet.com>
Wed, 2 Jul 2008 06:28:55 +0000 (09:28 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:13 +0000 (10:15 +0200)
commit01f9a74f7452d3322b2f2d07e8bd268f090a4a65
treeb1daa43b36d544abe32f0bb787fc459c85a6f766
parente5818a2c7f96472b2eeffc051e6ea99a0e21d4e4
KVM: VMX: Move nmi injection failure processing to vm exit path

Instead of processing nmi injection failure in the vm entry path, move
it to the vm exit path (vm_complete_interrupts()).  This separates nmi
injection from nmi post-processing, and moves the nmi state from the VT
state into vcpu state (new variable nmi_injected specifying an injection
in progress).

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c
include/asm-x86/kvm_host.h