diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2014-06-18 17:19:26 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-19 12:52:15 +0200 |
commit | 27e6fb5dae2819d17f38dc9224692b771e989981 (patch) | |
tree | a70eb57477af54459b6d97f9e34156eaf01ed6b2 /arch/mips/kvm/kvm_mips_int.c | |
parent | 1e32c07955b43e7f827174bf320ed35971117275 (diff) |
KVM: vmx: vmx instructions handling does not consider cs.l
VMX instructions use 32-bit operands in 32-bit mode, and 64-bit operands in
64-bit mode. The current implementation is broken since it does not use the
register operands correctly, and always uses 64-bit for reads and writes.
Moreover, write to memory in vmwrite only considers long-mode, so it ignores
cs.l. This patch fixes this behavior.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/kvm_mips_int.c')
0 files changed, 0 insertions, 0 deletions