Skip to content

hw/net,virtfs-proxy-helper: Reduce .data footprint

Philippe Mathieu-Daudé qemu-devel qemu-trivial 1 version Applied

Status from this message: Applied to my trivial-patches branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3hw/net/e1000: Add readops/writeops typedefshw/net/e1000.c hw/net/e1000e_core.c+8 -41 reply
2/3hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .datahw/net/e1000.c hw/net/e1000e_core.c+4 -41 reply
3/3virtfs-proxy-helper: Make the helper_opts[] array constfsdev/virtfs-proxy-helper.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDmitry FleytmanStefano GarzarellaGreg KurzPaolo Bonzini
SeriesR-b A-b
1/3R-b
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] hw/net,virtfs-proxy-helper: Reduce .data footprint

More memory footprint reduction, similar to:
https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg00984.html

The elf-dissector tool [1] [2] helped to notice the big array.

[1] https://phabricator.kde.org/source/elf-dissector/
[2] https://www.volkerkrause.eu/2019/06/22/elf-dissector-aarch64-support.html

Philippe Mathieu-Daudé (3):
hw/net/e1000: Add readops/writeops typedefs hw/net/e1000: Move macreg[] arrays to .rodata to save 1MiB of .data
virtfs-proxy-helper: Make the helper_opts[] array const

 fsdev/virtfs-proxy-helper.c | 2 +-
 hw/net/e1000.c              | 6 ++++--
 hw/net/e1000e_core.c        | 6 ++++--
 3 files changed, 9 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.1