Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a16b20da authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Change segment dpl at reset to 3



This is more emulation friendly, if not 100% correct.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 5706be0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)