Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125199
b: refs/heads/master
c: c0d0982
h: refs/heads/master
i:
  125197: fd6eb45
  125195: 4715c57
  125191: ba9495c
  125183: eed1172
v: v3
  • Loading branch information
Amit Shah authored and Avi Kivity committed Dec 31, 2008
1 parent a844cca commit f781366
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 25022acc3dd5f0b54071c7ba7c371860f2971b52
refs/heads/master: c0d09828c870f90c6bc72070ada281568f89c63b
7 changes: 7 additions & 0 deletions trunk/arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,13 @@ static void svm_get_segment(struct kvm_vcpu *vcpu,
if (seg == VCPU_SREG_CS)
var->g = s->limit > 0xfffff;

/*
* Work around a bug where the busy flag in the tr selector
* isn't exposed
*/
if (seg == VCPU_SREG_TR)
var->type |= 0x2;

var->unusable = !var->present;
}

Expand Down

0 comments on commit f781366

Please sign in to comment.