projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b19f3e
)
KVM: Initialize the apic_base msr on svm too
author
Avi Kivity
<avi@qumranet.com>
Mon, 5 Mar 2007 15:45:40 +0000
(17:45 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Thu, 3 May 2007 07:52:24 +0000
(10:52 +0300)
Older userspace didn't care, but newer userspace (with the cpuid changes)
does.
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/svm.c
b/drivers/kvm/svm.c
index 0311665e3c836e4b91d3e75acc5ebe5c181101bf..2396ada237777d8af4b5be214457f37256fdc86c 100644
(file)
--- a/
drivers/kvm/svm.c
+++ b/
drivers/kvm/svm.c
@@
-582,6
+582,9
@@
static int svm_create_vcpu(struct kvm_vcpu *vcpu)
init_vmcb(vcpu->svm->vmcb);
fx_init(vcpu);
+ vcpu->apic_base = 0xfee00000 |
+ /*for vcpu 0*/ MSR_IA32_APICBASE_BSP |
+ MSR_IA32_APICBASE_ENABLE;
return 0;