Re: [patch 2 of 2][rewritten] Emulate CMPS instruction

Avi Kivity
2007-11-26T15:13:02Z

Guillaume Thouvenin wrote:
> This patch emulates the CMPS instruction. I made corrections requested
> by Avi (removed macro and added the memory access). I fixed an
> inversion between arguments VCPU_REGS_RSI and VCPU_REGS_RDI in function
> register_address(). I also added the test if DS segment is overridden
> with a segment override prefix (ES segment cannot be overriden).
>

Applied, thanks. It passes the emulator testsuite, but if I change m3
to m2 kvm spins without entering the guest (probably due to two reads
from mmio space in one instruction).

--
error compiling committee.c: too many arguments to function