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(-)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html