> From: Paolo Bonzini [mailto:pbonz...@redhat.com] > On 11/01/2018 14:12, Pavel Dovgalyuk wrote: > >> From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > >> Bonzini > >> On 11/01/2018 09:27, Pavel Dovgalyuk wrote: > >>> + } else { > >>> + qemu_notify_event(); > >>> + } > >> > >> Before this patch, what would do the qemu_notify_event? > > > > We tried using qemu_notify_event to wake up the iothread and speedup the > > replay, > > when there is no work for vcpu thread to do. > > But why doesn't the iothread wake up on its own?
It will wake up by timeout. But with this change this happens sooner and replay goes faster. Pavel Dovgalyuk