diff options
author | Dan Carpenter <[email protected]> | 2019-08-27 12:38:52 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-09-11 17:28:01 +0200 |
commit | a061985b81a20248da60589d01375ebe9bec4dfc (patch) | |
tree | 2b407e57f50fa079bc695501f355552aebb6e3a5 /tools/perf/util/c++/clang-test.cpp | |
parent | 7396d337cfadc7c0b32dfd46581e9daff6666e84 (diff) |
x86: KVM: svm: Fix a check in nested_svm_vmrun()
We refactored this code a bit and accidentally deleted the "-" character
from "-EINVAL". The kvm_vcpu_map() function never returns positive
EINVAL.
Fixes: c8e16b78c614 ("x86: KVM: svm: eliminate hardcoded RIP advancement from vmrun_interception()")
Cc: [email protected]
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions