This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] x86: Intel wants the TSS busy flag set wh

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Intel wants the TSS busy flag set when we do a vmentry.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Jun 2008 10:20:10 -0700
Delivery-date: Wed, 18 Jun 2008 10:20:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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);
     case x86_seg_gdtr:
         __vmwrite(GUEST_GDTR_LIMIT, reg->limit);

Xen-changelog mailing list

<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 <=