]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86: movnti minimum op size of 32-bit is not kept
authorNadav Amit <namit@cs.technion.ac.il>
Mon, 2 Jun 2014 15:34:08 +0000 (18:34 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Jun 2014 15:46:18 +0000 (17:46 +0200)
commit3b32004a66e96e17d2a031c08d3304245c506dfc
tree7d49f500c0793ad3ae29917c27794d4e306943b7
parent37c564f2854bf75969d0ac26e03f5cf2bb7d639f
KVM: x86: movnti minimum op size of 32-bit is not kept

If the operand-size prefix (0x66) is used in 64-bit mode, the emulator would
assume the destination operand is 64-bit, when it should be 32-bit.

Reminder: movnti does not support 16-bit operands and its default operand size
is 32-bit.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c