qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/10] fix memory leak
@ 2015-07-02  9:49 Shannon Zhao
  2015-07-02  9:49 ` [Qemu-devel] [PATCH 01/10] hw/ppc/ppc4xx_devs.c: Convert ppcuic to QOM Shannon Zhao
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Shannon Zhao @ 2015-07-02  9:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, mjt, shannon.zhao

From: Shannon Zhao <shannon.zhao@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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-02  9:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02  9:49 [Qemu-devel] [PATCH 00/10] fix memory leak Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 01/10] hw/ppc/ppc4xx_devs.c: Convert ppcuic to QOM Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 02/10] include/hw/sparc/grlib.h: Store irqs in DeviceState Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 03/10] hw/m68k/mcf5206.c: convert m5206_mbar to QOM Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 04/10] hw/m68k/mcf_intc.c: convert mcf_intc " Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 05/10] hw/sh4/r2d.c: convert r2d_fpga " Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 06/10] hw/arm/palm.c: Fix misusing qemu_allocate_irqs Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 07/10] hw/arm/spitz.c: " Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 08/10] hw/arm/tosa.c: " Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 09/10] hw/mips/mips_int.c: use qemu_allocate_irq to fix memory leak Shannon Zhao
2015-07-02  9:49 ` [Qemu-devel] [PATCH 10/10] hw/openrisc/pic_cpu.c: " Shannon Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).