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:
bf591b2
)
[PATCH] KVM: Force real-mode cs limit to 64K
author
Michael Riepe
<michael@mr511.de>
Fri, 22 Dec 2006 09:05:45 +0000
(
01:05
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:46 +0000
(08:55 -0800)
This allows opensolaris to boot on kvm/intel.
Signed-off-by: Michael Riepe <michael@mr511.de>
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 f0f0b1a781f8191304da44ed396ac8e89cd086ba..2d7c6d6f1273b26e629259f51783a057f36f4ad6 100644
(file)
--- a/
drivers/kvm/vmx.c
+++ b/
drivers/kvm/vmx.c
@@
-726,6
+726,7
@@
static void enter_rmode(struct kvm_vcpu *vcpu)
vmcs_write32(GUEST_SS_AR_BYTES, 0xf3);
vmcs_write32(GUEST_CS_AR_BYTES, 0xf3);
+ vmcs_write32(GUEST_CS_LIMIT, 0xffff);
vmcs_write16(GUEST_CS_SELECTOR, vmcs_readl(GUEST_CS_BASE) >> 4);
fix_rmode_seg(VCPU_SREG_ES, &vcpu->rmode.es);