> From: Paolo Bonzini [mailto:pbonz...@redhat.com]
> On 13/01/2015 10:15, Pavel Dovgaluk wrote:
> > The numbers have no meaning. They just have to be distinct in different 
> > places.
> 
> This is easier to achieve if you give a name to each place.
> 
> > Sorry, missed one thing.
> > run_all is used to distinguish timers processed in AIO by calling of
> timerlistgroup_run_timers function
> > and in main loop by calling qemu_clock_run_all_timers.
> 
> Should you instead distinguish which TimerListGroup is being run?  Then
> main loop would checkpoint once for every TimerListGroup (which means
> twice).

Then I'll have to introduce some kind of deterministic ID for them
and new asynchronous event to be saved instead of common checkpoints.
Because these calls can be invoked in any order.
But I have no idea of how to make such a deterministic ID.

Pavel Dovgalyuk


Reply via email to