Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329880
b: refs/heads/master
c: 495e116
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity authored and Marcelo Tosatti committed Aug 27, 2012
1 parent 206abe4 commit 72b1c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c865c43de66dc973865bda337022f03b6e16c8df
refs/heads/master: 495e116684cebc5ae625916aba37fc07f345707b
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3317,7 +3317,7 @@ static bool rmode_segment_valid(struct kvm_vcpu *vcpu, int seg)
return false;
if (var.limit != 0xffff)
return false;
if (ar != 0xf3)
if ((ar | (3 << AR_DPL_SHIFT)) != 0xf3)
return false;

return true;
Expand Down

0 comments on commit 72b1c39

Please sign in to comment.