diff options
author | Sean Christopherson | 2019-07-19 13:41:10 -0700 |
---|---|---|
committer | Paolo Bonzini | 2019-09-25 15:30:19 +0200 |
commit | f209a26dd5a5038c53097b5c38e313b8cd042adb (patch) | |
tree | d35fa98d158cbd10fc73ad5114039d3a5217de85 /arch/x86/entry | |
parent | 98cd382d509061a9c6ae4cac38ff0721be05adef (diff) |
KVM: x86: Don't check kvm_rebooting in __kvm_handle_fault_on_reboot()
Remove the kvm_rebooting check from VMX/SVM instruction exception fixup
now that kvm_spurious_fault() conditions its BUG() on !kvm_rebooting.
Because the 'cleanup_insn' functionally is also gone, deferring to
kvm_spurious_fault() means __kvm_handle_fault_on_reboot() can eliminate
its .fixup code entirely and have its exception table entry branch
directly to the call to kvm_spurious_fault().
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/entry')
0 files changed, 0 insertions, 0 deletions