qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] [PATCHv10 09/31] aio / timers: Untangle include f


From: Alex Bligh
Subject: Re: [Qemu-devel] [RFC] [PATCHv10 09/31] aio / timers: Untangle include files
Date: Mon, 12 Aug 2013 18:04:59 +0100

Jan,

On 12 Aug 2013, at 17:40, Jan Kiszka wrote:

> On 2013-08-11 18:43, Alex Bligh wrote:
>> include/qemu/timer.h has no need to include main-loop.h and
>> doing so causes an issue for the next patch. Unfortunately
>> various files assume including timers.h will pull in main-loop.h.
>> Untangle this mess.
>> 
> 
> Hmm, this triggers a double typedef of AioContext for me. I've resolved
> it like the QEMUTimer issue: moved the typedef to typedefs.h.

For clarity, you mean in include/block/aio.h:
  typedef struct AioContext {
becomes
  include/block/aio.h:struct AioContext {

and then in include/qemu/typedefs.h add:
  typedef struct AioContext AioContext;

(just so I can get it right in v11 as I don't see your error here)

-- 
Alex Bligh







reply via email to

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