Re: [PATCH] KVM: fix mov immediate emulation for 64-bit operands

From: H. Peter Anvin
Date: Sat Jan 07 2012 - 15:25:39 EST


On 01/07/2012 12:21 PM, Nadav Amit wrote:
> MOV immediate instruction (opcodes 0xB8-0xBF) may take 64-bit operand.
> The previous emulation implementation assumes the operand is no longer than 32.
>
> Signed-off-by: Nadav Amit <nadav.amit@xxxxxxxxx>

There are exactly two such instructions: MOV immediate (B8-BF) and MOV
moff (A0-A3); you may want to check the latter too.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/