1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kvm/svm
Chen Zhou 054409ab25 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: f4c847a956 ("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>
2020-11-17 02:40:08 -05:00
..
avic.c KVM: SVM: Initialize prev_ga_tag before use 2020-10-21 17:48:49 -04:00
nested.c KVM: nSVM: implement on demand allocation of the nested state 2020-10-21 17:48:48 -04:00
pmu.c KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' in 2020-06-01 04:26:08 -04:00
sev.c KVM: SVM: Fix offset computation bug in __sev_dbg_decrypt(). 2020-11-16 13:59:09 -05:00
svm.c KVM: SVM: fix error return code in svm_create_vcpu() 2020-11-17 02:40:08 -05:00
svm.h KVM: nSVM: implement on demand allocation of the nested state 2020-10-21 17:48:48 -04:00
vmenter.S x86/kvm/svm: Move guest enter/exit into .noinstr.text 2020-07-09 07:08:41 -04:00