qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs
@ 2015-05-28 12:08 Shannon Zhao
  2015-05-28 12:08 ` [Qemu-devel] [PATCH 01/29] hw/ide/ahci.c: Fix memory leak spotted by valgrind Shannon Zhao
                   ` (29 more replies)
  0 siblings, 30 replies; 42+ messages in thread
From: Shannon Zhao @ 2015-05-28 12:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, pbonzini, mjt, shannon.zhao, peter.maydell

From: Shannon Zhao <shannon.zhao@linaro.org>

Before I sent some patches to fix memory leak spotted by valgrind and
those are relevant to qemu_allocate_irqs. Then I find all the places
calling this function through code searching and test by valgrind to
check whether they have memory leak. These patches fix these memory leaks.

Sorry that maybe the names of the patches are vertiginous while I could
not find out better names and I try to sort them out.

Thanks,
Shannon

Shannon Zhao (29):
  hw/ide/ahci.c: Fix memory leak spotted by valgrind
  hw/ide/cmd646.c: Fix memory leak spotted by valgrind
  hw/i386/pc: Fix memory leak spotted by valgrind
  hw/i386/pc_q35.c: Fix memory leak spotted by valgrind
  hw/isa/lpc_ich9.c: Fix memory leak spotted by valgrind
  hw/isa/i82378.c: Fix memory leak spotted by valgrind
  hw/timer/arm_timer.c: Fix memory leak spotted by valgrind
  hw/intc/exynos4210_gic.c: Fix memory leak spotted by valgrind
  hw/sparc/leon3.c: Fix memory leak spotted by valgrind
  hw/sparc/sun4m.c: Fix memory leak spotted by valgrind
  hw/ppc/mac_oldworld.c: Fix memory leak spotted by valgrind
  hw/ppc/ppc440_bamboo.c: Fix memory leak spotted by valgrind
  hw/ppc/prep.c: Fix memory leak spotted by valgrind
  hw/mips/mips_int.c: Fix memory leak spotted by valgrind
  hw/mips/mips_jazz.c: Fix memory leak spotted by valgrind
  hw/lm32/lm32_boards.c: Fix memory leak spotted by valgrind
  hw/lm32/milkymist.c: Fix memory leak spotted by valgrind
  hw/m68k/mcf5206.c: Fix memory leak spotted by valgrind
  hw/openrisc/pic_cpu.c: Fix memory leak spotted by valgrind
  hw/unicore32/puv3.c: Fix memory leak spotted by valgrind
  hw/sh4/r2d.c: Fix memory leak spotted by valgrind
  hw/alpha/typhoon.c: Fix memory leak spotted by valgrind
  hw/arm/nseries.c: Fix memory leak spotted by valgrind
  hw/arm/omap_sx1.c: Fix memory leak spotted by valgrind
  hw/arm/palm.c: Fix memory leak spotted by valgrind
  hw/arm/spitz.c: Fix memory leak spotted by valgrind
  hw/arm/tosa.c: Fix memory leak spotted by valgrind
  hw/display/tc6393xb.c: Fix memory leak spotted by valgrind
  hw/s390x/sclpcpu.c: Fix memory leak spotted by valgrind

 hw/alpha/typhoon.c       |  4 ++--
 hw/arm/nseries.c         |  4 ++--
 hw/arm/omap_sx1.c        |  2 +-
 hw/arm/palm.c            |  1 +
 hw/arm/spitz.c           |  6 +++++-
 hw/arm/tosa.c            |  1 +
 hw/display/tc6393xb.c    |  2 +-
 hw/dma/rc4030.c          |  2 +-
 hw/i386/pc.c             |  4 ++--
 hw/i386/pc_piix.c        |  4 +---
 hw/i386/pc_q35.c         |  5 ++---
 hw/ide/ahci.c            |  1 +
 hw/ide/cmd646.c          |  1 +
 hw/intc/exynos4210_gic.c |  7 +++----
 hw/isa/i82378.c          |  6 +++---
 hw/isa/lpc_ich9.c        |  5 +----
 hw/lm32/lm32_boards.c    | 12 ++++++------
 hw/lm32/milkymist.c      |  6 +++---
 hw/m68k/mcf5206.c        | 10 ++++++++--
 hw/mips/mips_int.c       |  1 +
 hw/mips/mips_jazz.c      | 15 ++++++++++++++-
 hw/openrisc/pic_cpu.c    |  1 +
 hw/ppc/mac_oldworld.c    |  1 +
 hw/ppc/ppc440_bamboo.c   | 15 +++++++++++++++
 hw/ppc/prep.c            |  6 +++---
 hw/s390x/sclpcpu.c       |  9 ++++++---
 hw/sh4/r2d.c             | 10 ++++++++++
 hw/sparc/leon3.c         |  9 ++++++++-
 hw/sparc/sun4m.c         | 10 ++++++----
 hw/timer/arm_timer.c     |  1 +
 hw/unicore32/puv3.c      |  8 ++++----
 include/hw/i386/pc.h     |  2 +-
 include/hw/m68k/mcf.h    |  3 +--
 33 files changed, 117 insertions(+), 57 deletions(-)

-- 
2.0.4

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

end of thread, other threads:[~2015-05-30 11:07 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 12:08 [Qemu-devel] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 01/29] hw/ide/ahci.c: Fix memory leak spotted by valgrind Shannon Zhao
2015-05-28 12:16   ` Peter Maydell
2015-05-28 12:24     ` Shannon Zhao
2015-05-28 12:39       ` Peter Maydell
2015-05-28 12:08 ` [Qemu-devel] [PATCH 02/29] hw/ide/cmd646.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 03/29] hw/i386/pc: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 04/29] hw/i386/pc_q35.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 05/29] hw/isa/lpc_ich9.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 06/29] hw/isa/i82378.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 07/29] hw/timer/arm_timer.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 08/29] hw/intc/exynos4210_gic.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 09/29] hw/sparc/leon3.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 10/29] hw/sparc/sun4m.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 11/29] hw/ppc/mac_oldworld.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 12/29] hw/ppc/ppc440_bamboo.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 13/29] hw/ppc/prep.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 14/29] hw/mips/mips_int.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 15/29] hw/mips/mips_jazz.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 16/29] hw/lm32/lm32_boards.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 17/29] hw/lm32/milkymist.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 18/29] hw/m68k/mcf5206.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 19/29] hw/openrisc/pic_cpu.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 20/29] hw/unicore32/puv3.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 21/29] hw/sh4/r2d.c: " Shannon Zhao
2015-05-28 12:46   ` Peter Maydell
2015-05-29  2:11     ` Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 22/29] hw/alpha/typhoon.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 23/29] hw/arm/nseries.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 24/29] hw/arm/omap_sx1.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 25/29] hw/arm/palm.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 26/29] hw/arm/spitz.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 27/29] hw/arm/tosa.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 28/29] hw/display/tc6393xb.c: " Shannon Zhao
2015-05-28 12:08 ` [Qemu-devel] [PATCH 29/29] hw/s390x/sclpcpu.c: " Shannon Zhao
2015-05-28 13:11   ` Cornelia Huck
2015-05-30  7:27     ` Shannon Zhao
2015-05-28 13:21   ` Peter Maydell
2015-05-30 10:34   ` Paolo Bonzini
2015-05-30 11:07     ` Shannon Zhao
2015-05-28 12:34 ` [Qemu-devel] [PATCH 00/29] Fix memory leak relevant to calling qemu_allocate_irqs Michael Tokarev
2015-05-29  2:21   ` 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).