diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index 68841ef671b9..62ec38c7027b 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -589,9 +589,9 @@ static int svm_create_vcpu(struct kvm_vcpu *vcpu) | |||
589 | 589 | ||
590 | fx_init(vcpu); | 590 | fx_init(vcpu); |
591 | vcpu->fpu_active = 1; | 591 | vcpu->fpu_active = 1; |
592 | vcpu->apic_base = 0xfee00000 | | 592 | vcpu->apic_base = 0xfee00000 | MSR_IA32_APICBASE_ENABLE; |
593 | /*for vcpu 0*/ MSR_IA32_APICBASE_BSP | | 593 | if (vcpu == &vcpu->kvm->vcpus[0]) |
594 | MSR_IA32_APICBASE_ENABLE; | 594 | vcpu->apic_base |= MSR_IA32_APICBASE_BSP; |
595 | 595 | ||
596 | return 0; | 596 | return 0; |
597 | 597 | ||