diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-08-28 00:40:29 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-24 15:30:32 +0300 |
commit | 120c2c4f99a80ef8682867b41e82d4e5d6b49635 (patch) | |
tree | eb7f4bca93e03b8bbd728349e80f227ac8ace826 /drivers/mfd/ucb1x00-core.c | |
parent | 22da61c9123e574f607c92d8f69165b1ffff6d5f (diff) | |
download | linux-120c2c4f99a80ef8682867b41e82d4e5d6b49635.tar.xz |
KVM: x86: Refactor kvm_vcpu_do_singlestep() to remove out param
Return the single-step emulation result directly instead of via an out
param. Presumably at some point in the past kvm_vcpu_do_singlestep()
could be called with *r==EMULATE_USER_EXIT, but that is no longer the
case, i.e. all callers are happy to overwrite their own return variable.
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 'drivers/mfd/ucb1x00-core.c')
0 files changed, 0 insertions, 0 deletions