qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH 00/10] fix memory leak


From: Shannon Zhao
Subject: [Qemu-trivial] [PATCH 00/10] fix memory leak
Date: Thu, 2 Jul 2015 17:49:13 +0800

From: Shannon Zhao <address@hidden>

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





reply via email to

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