]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: x86: fix mov immediate emulation for 64-bit operands
authorNadav Amit <nadav.amit@gmail.com>
Thu, 6 Dec 2012 23:55:10 +0000 (21:55 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 14 Dec 2012 00:30:56 +0000 (22:30 -0200)
commit5e2c688351f4aee9981918661b6c1679f4155f06
tree90e3862c7359eae1b34983bfae79e358eeab76c2
parent7f662273e476e2d7ff44f411fa9f17c946480100
KVM: x86: fix mov immediate emulation for 64-bit operands

MOV immediate instruction (opcodes 0xB8-0xBF) may take 64-bit operand.
The previous emulation implementation assumes the operand is no longer than 32.
Adding OpImm64 for this matter.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=881579

Signed-off-by: Nadav Amit <nadav.amit@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c