Skip to content

Fixes and cleanups around fw_cfg

Markus Armbruster qemu-devel 1 version Applied

Status from this message: Thanks, applied all.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8fw_cfg: Replace debug prints by tracepointshw/fw_cfg.c trace-events+13 -190 replies
2/8fw_cfg: Dumb down fw_cfg_add_*() not to return success / failurehw/fw_cfg.c hw/fw_cfg.h+24 -350 replies
3/8fw_cfg: New fw_cfg_add_string()hw/fw_cfg.c hw/fw_cfg.h+8 -00 replies
4/8pc: Fix unchecked strdup() by switching to fw_cfg_add_string()hw/pc.c+1 -30 replies
5/8sun4: Fix unchecked strdup() by switching to fw_cfg_add_string()hw/sun4m.c hw/sun4u.c+4 -120 replies
6/8pc: Clean up bochs_bios_init()'s (non-)use of sizeofhw/pc.c+3 -30 replies
7/8fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobshw/fw_cfg.c hw/fw_cfg.h hw/pc.c +1 more+27 -270 replies
8/8vl: Use size_t for sizes in get_boot_devices_list()hw/fw_cfg.c include/sysemu/sysemu.h vl.c+5 -50 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGleb Natapov
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] Fixes and cleanups around fw_cfg

Markus Armbruster (8):
fw_cfg: Replace debug prints by tracepoints
fw_cfg: Dumb down fw_cfg_add_*() not to return success / failure
fw_cfg: New fw_cfg_add_string()
pc: Fix unchecked strdup() by switching to fw_cfg_add_string()
sun4: Fix unchecked strdup() by switching to fw_cfg_add_string()
pc: Clean up bochs_bios_init()'s (non-)use of sizeof
fw_cfg: Use void *, size_t instead of uint8_t *, uint32_t for blobs
vl: Use size_t for sizes in get_boot_devices_list()

 hw/fw_cfg.c             | 86 ++++++++++++++++++++-----------------------------
 hw/fw_cfg.h             | 17 +++++-----
 hw/pc.c                 | 21 ++++++------
 hw/sun4m.c              | 12 ++-----
 hw/sun4u.c              |  4 +--
 include/sysemu/sysemu.h |  2 +-
 trace-events            |  7 ++++
 vl.c                    |  6 ++--
 8 files changed, 68 insertions(+), 87 deletions(-)
Signature · 1 line
1.7.11.7