diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-08-27 14:40:37 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-24 14:31:26 +0200 |
commit | 8fff2710eaf50aff1e6a7aa0607fe5288b619404 (patch) | |
tree | bfa5c9a4cc77030096fd2f5fbe846cd181cb0778 /arch/x86/.gitignore | |
parent | 9497e1f2ec93f0c8a7832c3c1eb3af8159800cd8 (diff) |
KVM: VMX: Remove EMULATE_FAIL handling in handle_invalid_guest_state()
Now that EMULATE_FAIL is completely unused, remove the last remaning
usage where KVM does something functional in response to EMULATE_FAIL.
Leave the check in place as a WARN_ON_ONCE to provide a better paper
trail when EMULATE_{DONE,FAIL,USER_EXIT} are completely removed.
Opportunistically remove the gotos in handle_invalid_guest_state().
With the EMULATE_FAIL handling gone there is no need to have a common
handler for emulation failure and the gotos only complicate things,
e.g. the signal_pending() check always returns '1', but this is far
from obvious when glancing through the code.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/.gitignore')
0 files changed, 0 insertions, 0 deletions