On 18 April 2014 14:41, Kirill Batuzov <batuz...@ispras.ru> 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