Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72130
b: refs/heads/master
c: 78f7826
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed Oct 22, 2007
1 parent e4c73e5 commit d95c992
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: a012e65aee48379a7a87eadafa74f878b61522b9
refs/heads/master: 78f7826868da8e27d097802139a3fec39f47f3b8
2 changes: 2 additions & 0 deletions trunk/drivers/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ static unsigned long vmx_get_rflags(struct kvm_vcpu *vcpu)

static void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags)
{
if (vcpu->rmode.active)
rflags |= IOPL_MASK | X86_EFLAGS_VM;
vmcs_writel(GUEST_RFLAGS, rflags);
}

Expand Down

0 comments on commit d95c992

Please sign in to comment.