commit | f1797359216c1daa145a354d07b8b2b7459668f4 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Apr 18 07:41:00 2013 +0800 |
committer | Gleb Natapov <gleb@redhat.com> | Mon Apr 22 10:56:44 2013 +0300 |
tree | 9e45d3570f332ac3c2e09490b86223877e7fba9a | |
parent | 8a1b9dd0006bce5cc770fd80bc95f9916670c151 [diff] |
KVM: x86: fix error return code in kvm_arch_vcpu_init() Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>