diff options
author | 2019-07-19 13:41:06 -0700 | |
---|---|---|
committer | 2019-09-25 15:23:33 +0200 | |
commit | 4b526de50e39b38cd828396267379183c7c21354 (patch) | |
tree | 0bd8139ce3b40338e07c1e30b4f9e85fa08f6369 /scripts/bpf_helpers_doc.py | |
parent | KVM: selftests: fix ucall on x86 (diff) | |
download | linux-dev-4b526de50e39b38cd828396267379183c7c21354.tar.xz linux-dev-4b526de50e39b38cd828396267379183c7c21354.zip |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions