projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873a7c4
)
[PATCH] KVM: Don't touch the virtual apic vt registers on 32-bit
author
Michael Riepe
<michael@mr511.de>
Wed, 13 Dec 2006 08:34:15 +0000
(
00:34
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:48 +0000
(09:05 -0800)
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/vmx.c
b/drivers/kvm/vmx.c
index d046296a930429ff0bde6899691c0a1e851c09e4..ea3bdbb0da9c8f5d8b3dad075bcb5165f2de04f9 100644
(file)
--- a/
drivers/kvm/vmx.c
+++ b/
drivers/kvm/vmx.c
@@
-1175,8
+1175,10
@@
static int vmx_vcpu_setup(struct kvm_vcpu *vcpu)
VM_ENTRY_CONTROLS, 0);
vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, 0); /* 22.2.1 */
+#ifdef CONFIG_X86_64
vmcs_writel(VIRTUAL_APIC_PAGE_ADDR, 0);
vmcs_writel(TPR_THRESHOLD, 0);
+#endif
vmcs_writel(CR0_GUEST_HOST_MASK, KVM_GUEST_CR0_MASK);
vmcs_writel(CR4_GUEST_HOST_MASK, KVM_GUEST_CR4_MASK);