]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc55d08bee59eda9624a5990f65d8210f6fdb4f1a
treef0f3e9b04ee18a8541bc3e5b74938d7e76f67752
parentc13f3d69d2e54d7b9b0aef6d723be2ccf78f3574
KVM: x86: MOVNTI emulation min opsize is not respected

Commit ca679bb4864f ("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