qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v18 13/21] icount: improve counting for record/r


From: Pavel Dovgaluk
Subject: Re: [Qemu-devel] [PATCH v18 13/21] icount: improve counting for record/replay
Date: Wed, 23 Sep 2015 10:22:38 +0300

> From: Paolo Bonzini [mailto:address@hidden
> On 17/09/2015 18:24, Pavel Dovgalyuk wrote:
> >  #endif
> >
> > +    /* CPU thread can infinitely wait for event after
> > +       missing the warp */
> > +    qemu_clock_warp(QEMU_CLOCK_VIRTUAL);
> >      qemu_clock_run_all_timers();
> 
> It is still not clear to me why the call in timerlist_rearm is not
> sufficient.  Can you explain this (again probably)?

Sometimes tcg thread halts in qemu_tcg_wait_io_event function, waiting
for any external event. Virtual clock does not run, because warp is not called.
warp call in main_loop_wait proceeds virtual clock and allows tcg thread to run 
further.

Pavel Dovgalyuk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]