KVM: VMX: Don't VMREAD VM_EXIT_INTR_INFO unconditionally
authorAvi Kivity <avi@redhat.com>
Mon, 7 Mar 2011 15:37:37 +0000 (17:37 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:56:56 +0000 (07:56 -0400)
commitc5ca8e572c4d8cb8dec1cf5b3fc9c7066f6b2c29
tree5e5fd00c9d3464e984b8821293b409a0954978a6
parent00eba012d53e63f620455f7013917e4bf59424f2
KVM: VMX: Don't VMREAD VM_EXIT_INTR_INFO unconditionally

Only read it if we're going to use it later.

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