projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5706be0
)
KVM: VMX: Change segment dpl at reset to 3
author
Avi Kivity
<avi@qumranet.com>
Wed, 20 Aug 2008 12:48:27 +0000
(15:48 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Wed, 15 Oct 2008 08:15:21 +0000
(10:15 +0200)
This is more emulation friendly, if not 100% correct.
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index
6aa305a
..
71e57ae
100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-1991,7
+1991,7
@@
static void seg_setup(int seg)
vmcs_write16(sf->selector, 0);
vmcs_writel(sf->base, 0);
vmcs_write32(sf->limit, 0xffff);
- vmcs_write32(sf->ar_bytes, 0x
9
3);
+ vmcs_write32(sf->ar_bytes, 0x
f
3);
}
static int alloc_apic_access_page(struct kvm *kvm)