use qemu_malloc and friends consistently
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest12 patches 7 repliesIn review
- v31 patch 1 replySuperseded
- v21 patch 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 44 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | fix qemu_alloc/qemu_free for block subsystemblock/ block/ block/ | +28 | 1 reply | |
| 2/12 | fix qemu_alloc/qemu_free for hw subsystemhw/ hw/ hw/ +1 more | +8 | 0 replies | |
| 3/12 | fix qemu_alloc/qemu_free for bsd-user subsystembsd-user/ bsd-user/ | +8 | 0 replies | |
| 4/12 | fix qemu_alloc/qemu_free for linux-user subsystemlinux-user/ linux-user/ | +13 | 5 replies | |
| 5/12 | fix qemu_alloc/qemu_free for target-i386 subsystemtarget-i386/ target-i386/ | +3 | 0 replies | |
| 6/12 | fix qemu_alloc/qemu_free for slirp subsystemslirp/ | +4 | 1 reply | |
| 7/12 | fix qemu_alloc/qemu_free for audio subsystemaudio/ | +2 | 0 replies | |
| 8/12 | fix qemu_alloc/qemu_free for target-arm subsystemtarget-arm/ | +2 | 0 replies | |
| 9/12 | fix qemu_alloc/qemu_free for target-ppc subsystemtarget-ppc/ | +1 | 0 replies | |
| 10/12 | fix qemu_alloc/qemu_free for target-sparc subsystemtarget-sparc/ | +4 | 0 replies | |
| 11/12 | fix qemu_alloc/qemu_free for tcg subsystemtcg/ | +3 | 0 replies | |
| 12/12 | fix qemu_alloc/qemu_free for main directoryacl.c migration.c net.c +5 more | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [Qemu-devel] [PATCH v4 00/12] use qemu_malloc and friends consistently
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.
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(-)