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] One more instruction for the VMX MMIO decoder.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] One more instruction for the VMX MMIO decoder.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Sep 2005 14:26:13 +0000
Delivery-date: Sat, 10 Sep 2005 14:24:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a8f01a0a95593125c0501c7b877679076bc618e8
# Parent  4b2c87242ad3a0963f1990acb6d8c15b1c017a5c
One more instruction for the VMX MMIO decoder.
This patch is to handle the instruction with opcode 0x80.
Without this patch, the 64-bit VMX guest can't boot.

Signed-off-by: Chengyuan Li <chengyuan.li@xxxxxxxxx>

diff -r 4b2c87242ad3 -r a8f01a0a9559 xen/arch/x86/vmx_platform.c
--- a/xen/arch/x86/vmx_platform.c       Sat Sep 10 14:17:02 2005
+++ b/xen/arch/x86/vmx_platform.c       Sat Sep 10 14:19:09 2005
@@ -425,10 +425,15 @@
        return reg_mem(instr->op_size, opcode, instr, rex);
+    case 0x80:
     case 0x81:
        if (((opcode[1] >> 3) & 7) == 7) { /* cmp $imm, m32/16 */
            instr->instr = INSTR_CMP;
-           GET_OP_SIZE_FOR_NONEBYTE(instr->op_size);
+        if (opcode[0] == 0x80)
+            GET_OP_SIZE_FOR_BYTE(instr->op_size);
+        else
+            GET_OP_SIZE_FOR_NONEBYTE(instr->op_size);
            instr->operand[0] = mk_operand(instr->op_size, 0, 0, IMMEDIATE);
            instr->immediate = get_immediate(vm86, opcode+1, BYTE);

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] One more instruction for the VMX MMIO decoder., Xen patchbot -unstable <=