diff options
author | Chen Zhou <chenzhou10@huawei.com> | 2020-11-17 03:54:26 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-17 08:40:08 +0100 |
commit | 054409ab253d9f31bec5760105144166b4b71e22 (patch) | |
tree | 8316c9e642fb1d29eabb14c1d486527ec4a0e40a /scripts | |
parent | KVM: SVM: Fix offset computation bug in __sev_dbg_decrypt(). (diff) | |
download | linux-054409ab253d9f31bec5760105144166b4b71e22.tar.xz linux-054409ab253d9f31bec5760105144166b4b71e22.zip |
KVM: SVM: fix error return code in svm_create_vcpu()
Fix to return a negative error code from the error handling case
instead of 0 in function svm_create_vcpu(), as done elsewhere in this
function.
Fixes: f4c847a95654 ("KVM: SVM: refactor msr permission bitmap allocation")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Message-Id: <20201117025426.167824-1-chenzhou10@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions