From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: [PATCH] x86: TSS busy flag Date: Tue, 17 Jun 2008 14:48:05 +0100 Message-ID: <4857C095.7080807@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070309090407000403070900" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070309090407000403070900 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit x86: Intel wants the TSS busy flag set when we do a vmentry. Signed-off-by: Jean Guyader -- Jean Guyader --------------070309090407000403070900 Content-Type: text/plain; name="live_migration_amd_intel_busy_flags.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="live_migration_amd_intel_busy_flags.patch" 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); } --------------070309090407000403070900 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070309090407000403070900--