aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 894fd45ecc98..7b742901e783 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -2431,12 +2431,6 @@ static struct kvm_vcpu *vmx_create_vcpu(struct kvm *kvm, unsigned int id)
2431 if (err) 2431 if (err)
2432 goto free_vcpu; 2432 goto free_vcpu;
2433 2433
2434 if (irqchip_in_kernel(kvm)) {
2435 err = kvm_create_lapic(&vmx->vcpu);
2436 if (err < 0)
2437 goto free_vcpu;
2438 }
2439
2440 vmx->guest_msrs = kmalloc(PAGE_SIZE, GFP_KERNEL); 2434 vmx->guest_msrs = kmalloc(PAGE_SIZE, GFP_KERNEL);
2441 if (!vmx->guest_msrs) { 2435 if (!vmx->guest_msrs) {
2442 err = -ENOMEM; 2436 err = -ENOMEM;