On 29/03/21 13:23, Pavel Dovgalyuk wrote:
I still do not understand why the qemu_clock_notify function is used
to notify the CPU. It would be nice to have a description of the call
chain in a comment or to have a more appropriate API. I can queue the
patch since it's deep in replay-events.c and not in common code, but
if you post a short description here I'll integrate it.
Maybe I missed something.
This call is needed for the case when vCPU is waiting in rr_wait_io_event.
You mean that we can use qemu_cpu_kick instead?
I have no idea. Using qemu_clock_notify however is definitely weird.
Paolo