KVM: VMX: Qualify check for host NMI
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 15:20:29 +0000 (17:20 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:56 +0000 (07:56 -0400)
commitf9902069c41254ad116e089e64ea21d3a000cc41
tree3d7a8ab867642433d77fea4c0326398083d43bde
parent9d58b93192065f4b2ba6b880e9b0dab0bc11d0ba
KVM: VMX: Qualify check for host NMI

Check for the exit reason first; this allows us, later,
to avoid a VMREAD for VM_EXIT_INTR_INFO_FIELD.

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