|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Intel wants the TSS busy flag set wh
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213778796 -3600
# Node ID 666f5196f0fcb01fb5550aba492f6ebf7fcc01fc
# Parent 97e02365a7818450d2261afda85287c3270d88af
x86: Intel wants the TSS busy flag set when we do a vmentry.
Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/hvm/vmx/vmx.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 97e02365a781 -r 666f5196f0fc xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c Wed Jun 18 09:40:39 2008 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c Wed Jun 18 09:46:36 2008 +0100
@@ -838,7 +838,8 @@ static void vmx_set_segment_register(str
__vmwrite(GUEST_TR_SELECTOR, reg->sel);
__vmwrite(GUEST_TR_LIMIT, reg->limit);
__vmwrite(GUEST_TR_BASE, reg->base);
- __vmwrite(GUEST_TR_AR_BYTES, attr);
+ /* VMX checks that the the busy flag (bit 1) is set. */
+ __vmwrite(GUEST_TR_AR_BYTES, attr | 2);
break;
case x86_seg_gdtr:
__vmwrite(GUEST_GDTR_LIMIT, reg->limit);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Intel wants the TSS busy flag set when we do a vmentry.,
Xen patchbot-unstable <=
|
|
|
|
|