projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dbc8f3
)
KVM: mark apic enabled on start up
author
Gleb Natapov
<gleb@redhat.com>
Sun, 5 Aug 2012 12:58:28 +0000
(15:58 +0300)
committer
Avi Kivity
<avi@redhat.com>
Mon, 6 Aug 2012 13:20:14 +0000
(16:20 +0300)
According to SDM apic is enabled on start up.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/lapic.c
b/arch/x86/kvm/lapic.c
index 49f4ac047f60cde73d1d6a197144bf95a9be577d..c3f14fe51e9b9ab0248fab6ffc2be65bf61d8f78 100644
(file)
--- a/
arch/x86/kvm/lapic.c
+++ b/
arch/x86/kvm/lapic.c
@@
-1311,7
+1311,8
@@
int kvm_create_lapic(struct kvm_vcpu *vcpu)
HRTIMER_MODE_ABS);
apic->lapic_timer.timer.function = apic_timer_fn;
- kvm_lapic_set_base(vcpu, APIC_DEFAULT_PHYS_BASE);
+ kvm_lapic_set_base(vcpu,
+ APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE);
kvm_lapic_reset(vcpu);
kvm_iodevice_init(&apic->dev, &apic_mmio_ops);