qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] [PATCHv8 11/30] aio / timers: Add a notify callba


From: Alex Bligh
Subject: Re: [Qemu-devel] [RFC] [PATCHv8 11/30] aio / timers: Add a notify callback to QEMUTimerList
Date: Sat, 10 Aug 2013 12:13:41 +0100

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







reply via email to

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