diff options
author | Vitaly Kuznetsov <[email protected]> | 2019-08-13 15:53:34 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-08-22 10:09:22 +0200 |
commit | e7134c1bb5af1ca6dcbd983e036e67b82e6a2de4 (patch) | |
tree | 45f5b0cbef02ee7ceb79cb4ee103612fba76fda4 /scripts/gdb/linux/modules.py | |
parent | c4762fdab55cb1ad715c427f875a549ef257dbb9 (diff) |
x86: KVM: svm: eliminate weird goto from vmrun_interception()
Regardless of whether or not nested_svm_vmrun_msrpm() fails, we return 1
from vmrun_interception() so there's no point in doing goto. Also,
nested_svm_vmrun_msrpm() call can be made from nested_svm_vmrun() where
other nested launch issues are handled.
nested_svm_vmrun() returns a bool, however, its result is ignored in
vmrun_interception() as we always return '1'. As a preparatory change
to putting kvm_skip_emulated_instruction() inside nested_svm_vmrun()
make nested_svm_vmrun() return an int (always '1' for now).
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions