]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Avoid vmx_recover_nmi_blocking() when unneeded
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 14:52:07 +0000 (16:52 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:56 +0000 (07:56 -0400)
commitb114714598dc25ae2d24ce814b27808598a828d7
tree819bc3357ebaa90854d90ffa2ab18948d9f5df39
parenta13fbdf247df9ec37a7b0f21f7a691e7e2b9a7d2
KVM: VMX: Avoid vmx_recover_nmi_blocking() when unneeded

When we haven't injected an interrupt, we don't need to recover
the nmi blocking state (since the guest can't set it by itself).
This allows us to avoid a VMREAD later on.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c