commit | ee122a7109e42313caadf6038ab773d1f68fcce1 | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Tue Apr 28 13:06:00 2015 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 19 20:52:35 2015 +0200 |
tree | 5760163eb46dcdc5dc594317336384d0d34d8c9f | |
parent | 3db176d5b4170284d9ce1e1e9c441ebfa9a37417 [diff] |
KVM: x86: Fix update RCX/RDI/RSI on REP-string When REP-string instruction is preceded with an address-size prefix, ECX/EDI/ESI are used as the operation counter and pointers. When they are updated, the high 32-bits of RCX/RDI/RSI are cleared, similarly to the way they are updated on every 32-bit register operation. Fix it. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>