diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-06-02 18:34:11 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-18 17:46:19 +0200 |
commit | 32e94d0696c26c6ba4f3ff53e70f6e0e825979bc (patch) | |
tree | 906c7d91be5d9fa12b0991f3d2d5413d3f18348e /lib/mpi/mpi-bit.c | |
parent | aaa05f2437b9450f30b301db962ec4d45ec90fbb (diff) |
KVM: x86: smsw emulation is incorrect in 64-bit mode
In 64-bit mode, when the destination is a register, the assignment is done
according to the operand size. Otherwise (memory operand or no 64-bit mode), a
16-bit assignment is performed.
Currently, 16-bit assignment is always done to the destination.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions