Re: [PATCH] KVM: SVM: fix error return code in svm_create_vcpu()

2020-11-16 Thread Paolo Bonzini
On 17/11/20 03:54, Chen Zhou wrote: 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

[PATCH] KVM: SVM: fix error return code in svm_create_vcpu()

2020-11-16 Thread Chen Zhou
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 Signed-off-by: Chen Zhou ---