Skip to content

Emulator INTn and SCAS fixes

Avi Kivity kvm 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v14 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: x86 emulator: fix INTn emulation not pushing EFLAGS and CSarch/x86/kvm/emulate.c+12 -10 replies
2/3KVM: x86 emulator: implement SCAS (opcodes AE, AF)arch/x86/kvm/emulate.c+2 -30 replies
3/3KVM: x86 emulator: fix REPZ/REPNZ termination conditionarch/x86/kvm/emulate.c+18 -206 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Emulator INTn and SCAS fixes

The following patchset makes INTn work and implements SCAS (used by vgabios). With the patchset, vgabios is able to display its splash screen but gets confused shortly afterwards.

Based on the non-atomic-injection branch.

Avi Kivity (4):
KVM: Initialize operand and address sizes before emulating interrupts
- dropped - doesn't apply to mainline yet
KVM: x86 emulator: fix INTn emulation not pushing EFLAGS and CS
KVM: x86 emulator: implement SCAS (opcodes AE, AF)
KVM: x86 emulator: fix REPZ/REPNZ termination condition
- drop new unused variable
- if ZF test succeeds, avoid following test

 arch/x86/kvm/emulate.c |   56 +++++++++++++++++++++++++++--------------------
 1 files changed, 32 insertions(+), 24 deletions(-)