diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-08-27 14:40:28 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-24 13:37:36 +0200 |
commit | 22da61c9123e574f607c92d8f69165b1ffff6d5f (patch) | |
tree | 44d800b473e585f6cc00ee023c1932d3732c6ba1 /block/blk-wbt.h | |
parent | bc8a0aafcbb82e5c7dde486c03e6c51e3896d797 (diff) |
KVM: x86: Clean up handle_emulation_failure()
When handling emulation failure, return the emulation result directly
instead of capturing it in a local variable. Future patches will move
additional cases into handle_emulation_failure(), clean up the cruft
before so there isn't an ugly mix of setting a local variable and
returning directly.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions