All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: TSS busy flag
@ 2008-06-17 13:48 Jean Guyader
  0 siblings, 0 replies; only message in thread
From: Jean Guyader @ 2008-06-17 13:48 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 138 bytes --]


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

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>

-- 
Jean Guyader

[-- Attachment #2: live_migration_amd_intel_busy_flags.patch --]
[-- Type: text/plain, Size: 474 bytes --]

diff -r 7e00ebe2b7fd xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c	Tue Jun 17 09:36:25 2008 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c	Tue Jun 17 14:45:06 2008 +0100
@@ -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);
 }

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-17 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-17 13:48 [PATCH] x86: TSS busy flag Jean Guyader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.