On Tue, Aug 12, 2014 at 7:26 PM, Alexander Graf <ag...@suse.de> wrote:
>
> On 04.08.14 03:59, Peter Crosthwaite wrote:
>>
>> To indicate the IRQs are initially disconnected.
>>
>> Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com>
>
>
> I suppose you want to convert this one too?
>
>   hw/intc/i8259.c:475:    irq_set = g_malloc(ISA_NUM_IRQS *
> sizeof(qemu_irq));
>

So I have figured out a catch-all for this problem. I've set it up
such that when registering the link qdev will memset the pointer to 0.
This patch (along with your new case) is still legit cleanup though
and can go via trivial seperately.

Dropped completely in V2.

Regards,
Peter

>
> Alex
>
>

Reply via email to