KVM: x86: bit-ops emulation ignores offset on 64-bit
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 15 Jun 2014 13:12:57 +0000 (16:12 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jun 2014 10:52:08 +0000 (12:52 +0200)
commit7dec5603b6b8dc4c3e1c65d318bd2a5a8c62a424
tree2a331fa1dfa9396bfec002c5fa839294adbe664d
parentbc39c4db7110f88f338cbbabe53d3e43c7400a59
KVM: x86: bit-ops emulation ignores offset on 64-bit

The current emulation of bit operations ignores the offset from the destination
on 64-bit target memory operands. This patch fixes this behavior.

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