diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-27 12:38:52 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-11 17:28:01 +0200 |
commit | a061985b81a20248da60589d01375ebe9bec4dfc (patch) | |
tree | 2b407e57f50fa079bc695501f355552aebb6e3a5 /arch/sparc | |
parent | 7396d337cfadc7c0b32dfd46581e9daff6666e84 (diff) | |
download | linux-a061985b81a20248da60589d01375ebe9bec4dfc.tar.bz2 |
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: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions