From: Shannon Zhao <shannon.z...@linaro.org> This patch series are going to fix the memory leak caused by qemu_allocate_irqs. Patch 1-5 convert the device to QOM and store the irqs in DeviceState. Patch 6-10 use qemu_allocate_irq instead of qemu_allocate_irqs.
Shannon Zhao (10): hw/ppc/ppc4xx_devs.c: Convert ppcuic to QOM include/hw/sparc/grlib.h: Store irqs in DeviceState hw/m68k/mcf5206.c: convert m5206_mbar to QOM hw/m68k/mcf_intc.c: convert mcf_intc to QOM hw/sh4/r2d.c: convert r2d_fpga to QOM hw/arm/palm.c: Fix misusing qemu_allocate_irqs hw/arm/spitz.c: Fix misusing qemu_allocate_irqs hw/arm/tosa.c: Fix misusing qemu_allocate_irqs hw/mips/mips_int.c: use qemu_allocate_irq to fix memory leak hw/openrisc/pic_cpu.c: use qemu_allocate_irq to fix memory leak hw/arm/palm.c | 24 +++++++++------ hw/arm/spitz.c | 23 ++++++++------ hw/arm/tosa.c | 13 +++++--- hw/m68k/an5206.c | 2 +- hw/m68k/mcf5206.c | 75 ++++++++++++++++++++++++++++++++++++--------- hw/m68k/mcf5208.c | 22 +++++++------ hw/m68k/mcf_intc.c | 69 +++++++++++++++++++++++++++++++++++------ hw/mips/mips_int.c | 5 ++- hw/net/mcf_fec.c | 14 ++++++--- hw/openrisc/pic_cpu.c | 4 +-- hw/ppc/ppc405.h | 6 ++-- hw/ppc/ppc405_boards.c | 6 ++-- hw/ppc/ppc405_uc.c | 68 ++++++++++++++++++++-------------------- hw/ppc/ppc440_bamboo.c | 19 +++++++----- hw/ppc/ppc4xx_devs.c | 55 ++++++++++++++++++++++++++++----- hw/sh4/r2d.c | 80 ++++++++++++++++++++++++++++++++++++++---------- hw/sparc/leon3.c | 10 +++--- include/hw/m68k/mcf.h | 11 +++---- include/hw/ppc/ppc4xx.h | 4 +-- include/hw/sparc/grlib.h | 12 +++----- 20 files changed, 358 insertions(+), 164 deletions(-) -- 2.0.4