qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/4] Fix memory leaks in QEMU


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 0/4] Fix memory leaks in QEMU
Date: Fri, 18 Apr 2014 16:09:14 +0100

On 18 April 2014 14:41, Kirill Batuzov <address@hidden> wrote:
> qemu_allocate_irqs:
>   The most troublesome case.  It will need its own patch series and I need
>   some advices on how to deal with it.

I would suggest that we should deal with this by converting
from qemu_irq to a QOM property or link based interface
for GPIO/IRQ lines. There's not much point in overhauling
the IRQ APIs twice.

Note that generally these "leaks" are not really leaks, because we
set up the board and wire IRQs together once, and they remain
that way for the lifetime of QEMU and are freed automatically
when QEMU exits.

thanks
-- PMM



reply via email to

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