commit | 32e94d0696c26c6ba4f3ff53e70f6e0e825979bc | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Mon Jun 02 18:34:11 2014 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jun 18 17:46:19 2014 +0200 |
tree | 906c7d91be5d9fa12b0991f3d2d5413d3f18348e | |
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>