KVM: x86: MOVNTI emulation min opsize is not respected
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 2 Nov 2014 09:55:00 +0000 (11:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 8 Nov 2014 07:20:54 +0000 (08:20 +0100)
commited9aad215ff3374ffd720b83d26fda91e4367090
treef0f3e9b04ee18a8541bc3e5b74938d7e76f67752
parent7f187922ddf6b67f2999a76dcb71663097b75497
KVM: x86: MOVNTI emulation min opsize is not respected

Commit 3b32004a66e9 ("KVM: x86: movnti minimum op size of 32-bit is not kept")
did not fully fix the minimum operand size of MONTI emulation. Still, MOVNTI
may be mistakenly performed using 16-bit opsize.

This patch add No16 flag to mark an instruction does not support 16-bits
operand size.

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