diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-08-27 23:40:35 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-24 14:31:13 +0200 |
commit | 1051778f6e1e25c1203869586f4431785a35c13c (patch) | |
tree | a34c27eaa189e808b3d640e3cb31306cb1494b5b /block/bounce.c | |
parent | KVM: x86: Exit to userspace on emulation skip failure (diff) | |
download | linux-1051778f6e1e25c1203869586f4431785a35c13c.tar.xz linux-1051778f6e1e25c1203869586f4431785a35c13c.zip |
KVM: x86: Handle emulation failure directly in kvm_task_switch()
Consolidate the reporting of emulation failure into kvm_task_switch()
so that it can return EMULATE_USER_EXIT. This helps pave the way for
removing EMULATE_FAIL altogether.
This also fixes a theoretical bug where task switch interception could
suppress an EMULATE_USER_EXIT return.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions