From: Shannon Zhao <[email protected]>
These are relevant to memory leak in machine init function. Here we add
a member in MachineState to store irq array returned from
qemu_allocate_irqs.
PS. These patches are split from my previous patchset [1] since they are
relevant to MachineState.
Thanks,
Shannon
[1] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs
changes since v1:
* Add a member in MachineState to store irq array [Peter]
Shannon Zhao (7):
hw/ppc/ppc440_bamboo.c: Add a member in MachineState to store irq
array
hw/mips/mips_jazz.c: Store irq array in MachineState to fix memory
leak
hw/m68k/an5206.c: Store irq array in MachineState to fix memory leak
hw/sh4/r2d.c: Store irq array in MachineState to fix memory leak
hw/arm/palm.c: Store irq array in MachineState to fix memory leak
hw/arm/spitz.c: Store irq array in MachineState to fix memory leak
hw/arm/tosa.c: Store irq array in MachineState to fix memory leak
hw/arm/palm.c | 6 ++++--
hw/arm/spitz.c | 8 +++++---
hw/arm/tosa.c | 10 +++++-----
hw/m68k/an5206.c | 2 +-
hw/mips/mips_jazz.c | 28 ++++++++++++++--------------
hw/ppc/ppc440_bamboo.c | 17 +++++++++--------
hw/sh4/r2d.c | 15 +++++++--------
include/hw/boards.h | 1 +
8 files changed, 46 insertions(+), 41 deletions(-)
--
2.0.4