[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 00/12] use qemu_malloc and friends consistently
From: |
Jean-Christophe DUBOIS |
Subject: |
[Qemu-devel] [PATCH v4 00/12] use qemu_malloc and friends consistently |
Date: |
Thu, 18 Jun 2009 22:50:07 +0200 |
qemu_malloc, qemu_free and friends are not used consistently in the qemu
source code.
This is an attempt to use these oveloaded functions consistently all over
the place instead of the default glibc versions.
version 2 avoids to use qemu_malloc in qemu-io.c if the size to allocate is 0.
Since the submission of version 2 of the patch a lot of places have been
patched. But there are still a lot of other places where malloc/free is used
instead of qemu_malloc/qemu_free.
Version 3 of the patch is applying the fix where it has not yet been applied.
version 4 of the patch split it in multiple subsystems patches.
Signed-off-by: Jean-Christophe DUBOIS <address@hidden>
Jean-Christophe Dubois (12):
fix qemu_alloc/qemu_free for block subsystem
fix qemu_alloc/qemu_free for hw subsystem
fix qemu_alloc/qemu_free for bsd-user subsystem
fix qemu_alloc/qemu_free for linux-user subsystem
fix qemu_alloc/qemu_free for target-i386 subsystem
fix qemu_alloc/qemu_free for slirp subsystem
fix qemu_alloc/qemu_free for audio subsystem
fix qemu_alloc/qemu_free for target-arm subsystem
fix qemu_alloc/qemu_free for target-ppc subsystem
fix qemu_alloc/qemu_free for target-sparc subsystem
fix qemu_alloc/qemu_free for tcg subsystem
fix qemu_alloc/qemu_free for main directory
acl.c | 4 ++--
audio/paaudio.c | 4 ++--
block/cloop.c | 6 +++---
block/dmg.c | 14 +++++++-------
block/vvfat.c | 36 ++++++++++++++++++------------------
bsd-user/main.c | 6 +++---
bsd-user/path.c | 10 +++++-----
hw/baum.c | 8 ++++----
hw/bt-l2cap.c | 2 +-
hw/nseries.c | 2 +-
hw/scsi-generic.c | 4 ++--
linux-user/main.c | 10 +++++-----
linux-user/syscall.c | 16 ++++++++--------
migration.c | 2 +-
net.c | 30 +++++++++++++++---------------
qemu-char.c | 12 ++++++------
qemu-img.c | 2 +-
qemu-io.c | 12 ++++++------
readline.c | 2 +-
slirp/socket.c | 8 ++++----
target-arm/helper.c | 4 ++--
target-i386/helper.c | 4 ++--
target-i386/kvm.c | 2 +-
target-ppc/kvm_ppc.c | 2 +-
target-sparc/helper.c | 8 ++++----
tcg/tcg.c | 6 +++---
vl.c | 6 +++---
27 files changed, 111 insertions(+), 111 deletions(-)
- [Qemu-devel] [PATCH v4 00/12] use qemu_malloc and friends consistently,
Jean-Christophe DUBOIS <=
- [Qemu-devel] [PATCH v4 01/12] fix qemu_alloc/qemu_free for block subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 02/12] fix qemu_alloc/qemu_free for hw subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 03/12] fix qemu_alloc/qemu_free for bsd-user subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 04/12] fix qemu_alloc/qemu_free for linux-user subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 05/12] fix qemu_alloc/qemu_free for target-i386 subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 06/12] fix qemu_alloc/qemu_free for slirp subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 07/12] fix qemu_alloc/qemu_free for audio subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 08/12] fix qemu_alloc/qemu_free for target-arm subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 09/12] fix qemu_alloc/qemu_free for target-ppc subsystem, Jean-Christophe DUBOIS, 2009/06/18
- [Qemu-devel] [PATCH v4 10/12] fix qemu_alloc/qemu_free for target-sparc subsystem, Jean-Christophe DUBOIS, 2009/06/18