KVM: x86 emulator: introduce pio in string read ahead.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:27 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:31 +0000 (12:16 +0300)
commit7b262e90fc20a49fddf3dad94c8cead1f0439751
treec64306065ff392590cf89808807fb82a65499650
parent5cd21917da245fbe98bd443de2c7f519b3df6814
KVM: x86 emulator: introduce pio in string read ahead.

To optimize "rep ins" instruction do IO in big chunks ahead of time
instead of doing it only when required during instruction emulation.

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