aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2012-05-14 02:58:58 -0400
committerAvi Kivity <avi@redhat.com>2012-05-14 04:28:02 -0400
commit5f3fbc342f408199e5cbb4b3dc220569147a99a7 (patch)
tree9cae35ef6a4c92eae241f5fa5a82195441cce2d7 /arch/x86
parentf2569053e0b3ae092e2f35514f8d108647baa01f (diff)
KVM: VMX: unlike vmcs on fail path
fix: [ 1529.577273] Call Trace: [ 1529.577289] [<ffffffffa060d58f>] kvm_arch_hardware_disable+0x13/0x30 [kvm] [ 1529.577302] [<ffffffffa05fa2d4>] hardware_disable_nolock+0x35/0x39 [kvm] [ 1529.577311] [<ffffffffa05fa29f>] ? cpumask_clear_cpu.constprop.31+0x13/0x13 [kvm] [ 1529.577315] [<ffffffff81096ba8>] on_each_cpu+0x44/0x84 [ 1529.577326] [<ffffffffa05f98b5>] hardware_disable_all_nolock+0x34/0x36 [kvm] [ 1529.577335] [<ffffffffa05f98e2>] hardware_disable_all+0x2b/0x39 [kvm] [ 1529.577349] [<ffffffffa05fafe5>] kvm_put_kvm+0xed/0x10f [kvm] [ 1529.577358] [<ffffffffa05fb3d7>] kvm_vm_release+0x22/0x28 [kvm] Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 61ebdb6390ee..3062ea95266e 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -6350,7 +6350,7 @@ static struct kvm_vcpu *vmx_create_vcpu(struct kvm *kvm, unsigned int id)
6350 return &vmx->vcpu; 6350 return &vmx->vcpu;
6351 6351
6352free_vmcs: 6352free_vmcs:
6353 free_vmcs(vmx->loaded_vmcs->vmcs); 6353 free_loaded_vmcs(vmx->loaded_vmcs);
6354free_msrs: 6354free_msrs:
6355 kfree(vmx->guest_msrs); 6355 kfree(vmx->guest_msrs);
6356uninit_vcpu: 6356uninit_vcpu: