Skip to content

Speedup ins instruction emulation a little

Gleb Natapov kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86 emulator: don't update vcpu state if instruction is restarted.arch/x86/kvm/x86.c+13 -1821 replies
2/2KVM: x86 emulator: check io permissions only once for string pioarch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c arch/x86/kvm/x86.c+8 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)