Skip to contentSkip to conversation

x86: TSS busy flag

PATCH New Jean Guyader 1 participant 1 message Jun 17, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: TSS busy flag

x86: Intel wants the TSS busy flag set when we do a vmentry.

Signature · 1 line
Jean Guyader
xen/arch/x86/hvm/vmx/vmx.c +3 -0
diff -r 7e00ebe2b7fd xen/arch/x86/hvm/vmx/vmx.c
@@ -624,6 +624,9 @@ static void vmx_load_cpu_state(struct vc
     v->arch.hvm_vmx.cstar     = data->msr_cstar;
     v->arch.hvm_vmx.shadow_gs = data->shadow_gs;
 #endif
+
+    /* The busy flags must be set for Intel */
+    set_bit(1, &data->tr_arbytes);
 
     hvm_set_guest_tsc(v, data->tsc);
 }

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel