WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] x86_emulate: BT instruction does not w

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86_emulate: BT instruction does not write to its 'destination' operand.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 07:11:29 -0700
Delivery-date: Tue, 22 Apr 2008 07:14:07 -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 1208861396 -3600
# Node ID cf80cf2709b6b036c73f009a52504572c8fc8ec7
# Parent  cae7dab0b0f94890c47702a254889b7d3b415e08
x86_emulate: BT instruction does not write to its 'destination' operand.

This fixes w2k3 guests occasionally writing back to read-only registers.

Signed-off-by: Xu Dongxiao <dongxiao.xu@xxxxxxxxx>
xen-unstable changeset:   17492:d9a74b8e9b1a345cc3d82efb837014e5658522c2
xen-unstable date:        Tue Apr 22 10:27:04 2008 +0100
---
 xen/arch/x86/x86_emulate.c |    1 +
 1 files changed, 1 insertion(+)

diff -r cae7dab0b0f9 -r cf80cf2709b6 xen/arch/x86/x86_emulate.c
--- a/xen/arch/x86/x86_emulate.c        Mon Apr 21 20:16:48 2008 +0100
+++ b/xen/arch/x86/x86_emulate.c        Tue Apr 22 11:49:56 2008 +0100
@@ -2968,6 +2968,7 @@ x86_emulate(
 
     case 0xa3: bt: /* bt */
         emulate_2op_SrcV_nobyte("bt", src, dst, _regs.eflags);
+        dst.type = OP_NONE;
         break;
 
     case 0xa4: /* shld imm8,r,r/m */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86_emulate: BT instruction does not write to its 'destination' operand., Xen patchbot-3.2-testing <=