KVM: VMX: Use cached VM_EXIT_INTR_INFO in handle_exception
vmx_complete_atomic_exit() cached it for us, so we can use it here. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
c5ca8e572c
commit
8878647585
|
@ -3118,7 +3118,7 @@ static int handle_exception(struct kvm_vcpu *vcpu)
|
|||
enum emulation_result er;
|
||||
|
||||
vect_info = vmx->idt_vectoring_info;
|
||||
intr_info = vmcs_read32(VM_EXIT_INTR_INFO);
|
||||
intr_info = vmx->exit_intr_info;
|
||||
|
||||
if (is_machine_check(intr_info))
|
||||
return handle_machine_check(vcpu);
|
||||
|
|
Loading…
Reference in New Issue