Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54076
b: refs/heads/master
c: 8cb5b03
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed May 3, 2007
1 parent 03ae24d commit 5f07922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aac012245a59d78372dc66d292ba567367d86b60
refs/heads/master: 8cb5b0333250beb382624f626851a31f601b4830
2 changes: 2 additions & 0 deletions trunk/drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ static void enter_rmode(struct kvm_vcpu *vcpu)

vmcs_write32(GUEST_CS_AR_BYTES, 0xf3);
vmcs_write32(GUEST_CS_LIMIT, 0xffff);
if (vmcs_readl(GUEST_CS_BASE) == 0xffff0000)
vmcs_writel(GUEST_CS_BASE, 0xf0000);
vmcs_write16(GUEST_CS_SELECTOR, vmcs_readl(GUEST_CS_BASE) >> 4);

fix_rmode_seg(VCPU_SREG_ES, &vcpu->rmode.es);
Expand Down

0 comments on commit 5f07922

Please sign in to comment.