[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] One more instruction for the VMX MMIO decoder.
# 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 @@ GET_OP_SIZE_FOR_NONEBYTE(instr->op_size); 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 Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |