KVM: x86 emulator: fix RCX access during rep emulation
authorGleb Natapov <gleb@redhat.com>
Mon, 15 Mar 2010 14:38:29 +0000 (16:38 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:47 +0000 (12:15 +0300)
commitc73e197bc525e67b71578126b679446f5b88b508
treefc0eac94860b101a552228504f3c080110bde32e
parentd6d367d6783e38634377bc66b62bff3ffd717e5f
KVM: x86 emulator: fix RCX access during rep emulation

During rep emulation access length to RCX depends on current address
mode.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c