Sean Christopherson 4b526de50e KVM: x86: Check kvm_rebooting in kvm_spurious_fault()
Explicitly check kvm_rebooting in kvm_spurious_fault() prior to invoking
BUG(), as opposed to assuming the caller has already done so.  Letting
kvm_spurious_fault() be called "directly" will allow VMX to better
optimize its low level assembly flows.

As a happy side effect, kvm_spurious_fault() no longer needs to be
marked as a dead end since it doesn't unconditionally BUG().

Acked-by: 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>
2019-09-25 15:23:33 +02:00
..
2019-09-20 08:36:47 -07:00
2019-09-20 08:36:47 -07:00
2019-09-23 19:16:01 -07:00
2019-09-23 19:16:01 -07:00
2019-09-21 10:07:42 -07:00
2019-07-17 09:36:38 -07:00
2019-09-20 08:36:47 -07:00
2019-09-22 10:34:46 -07:00
2019-09-23 19:16:01 -07:00
2019-09-23 19:16:01 -07:00
2019-09-19 13:27:23 -07:00
2019-07-12 15:38:05 -07:00
2019-09-21 10:07:42 -07:00
2019-09-20 08:36:47 -07:00
2019-09-23 19:16:01 -07:00
2019-09-20 08:36:47 -07:00
2019-09-21 10:07:42 -07:00
2019-09-19 13:27:23 -07:00
2019-09-23 19:16:01 -07:00
2019-09-19 13:27:23 -07:00
2019-09-19 13:27:23 -07:00
2019-09-20 11:48:06 -07:00