KVM: x86: fix error return code in kvm_arch_vcpu_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 17 Apr 2013 23:41:00 +0000 (07:41 +0800)
committerGleb Natapov <gleb@redhat.com>
Mon, 22 Apr 2013 07:56:44 +0000 (10:56 +0300)
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>

No differences found