mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
KVM: VMX: Change segment dpl at reset to 3
This is more emulation friendly, if not 100% correct. Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
1 parent
5706be0daf
commit
a16b20da87
1 file changed
+1
-1
+1
-1
@@ -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, 0x93);
|
||||
vmcs_write32(sf->ar_bytes, 0xf3);
|
||||
}
|
||||
|
||||
static int alloc_apic_access_page(struct kvm *kvm)
|
||||
|
||||
Reference in new issue
Block a user