qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/5] Convert remaining calls to g_malloc(sizeof(


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 5/5] Convert remaining calls to g_malloc(sizeof(type)) to g_new()
Date: Fri, 21 Oct 2011 09:37:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/21/2011 02:26 AM, Stuart Brady wrote:
>  They all look okay, perhaps the include path you passed to
>  Coccinelle is incomplete?
Ah, good point!  I'm not sure what include dirs are needed, though...
anyone have any advice?

Blue Swirl, I gather you're one of the few other people to have used
Coccinelle with Qemu's source...

I played a bit yesterday and it turns out that Coccinelle is a bit limited WRT handling headers, because they are very expensive. I used "-I . -I +build -I hw" but it didn't help much.

Stuart/Blue, do you have a macro file? Mine was simply "#define coroutine_fn".

Paolo



reply via email to

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