Paolo, On 9 Aug 2013, at 11:03, Paolo Bonzini wrote:
> Il 08/08/2013 23:42, Alex Bligh ha scritto: >> Add a notify pointer to QEMUTimerList so it knows what to notify >> on a timer change. > > If we do the "two AioContexts" trick, this can simply be a back-pointer > to the AioContext. Actually this isn't right. All the timer lists associated with normal AioContexts need to call aio_notify() (or use the callback) but the timer list associated with the dummy AioContext needs to call qemu_notify. This makes the trick a bit uglier. I'll do a v2 of my demo patch for this. -- Alex Bligh