Sean Christopherson 8fff2710ea 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>
2019-09-24 14:31:26 +02:00
..
2019-09-20 08:36:47 -07:00
2019-07-14 20:36:12 +02:00
2019-09-20 11:48:06 -07:00
2019-09-20 11:48:06 -07:00
2019-09-19 13:27:23 -07:00
2019-09-18 10:04:39 -07:00
2019-09-15 21:37:14 +02:00
2019-09-19 13:27:23 -07:00
2019-09-20 11:48:06 -07:00