[PATCH 0/2] Speedup ins instruction emulation a little

Gleb Natapov
2010-07-29T12:11:54Z

Recent emulator changes fixed many bugs and shortcomings in string io
instructions emulation (ability to do io into mmio region, proper DF
flag handling) but emulation became much slower. Those patches bring
some performance back.

Gleb Natapov (2):
KVM: x86 emulator: don't update vcpu state if instruction is
restarted.
KVM: x86 emulator: check io permissions only once for string pio

arch/x86/include/asm/kvm_emulate.h | 1 +
arch/x86/kvm/emulate.c | 6 ++++++
arch/x86/kvm/x86.c | 32 ++++++++++++++------------------
3 files changed, 21 insertions(+), 18 deletions(-)