Skip to content

NUMA code cleanup

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7numa: Move NUMA declarations from sysemu.h to numa.hhw/i386/pc.c hw/mem/pc-dimm.c hw/ppc/spapr.c +5 more+34 -191 reply
2/7vl.c: Remove unnecessary zero-initialization of NUMA globalsvl.c+0 -80 replies
3/7numa: Move NUMA globals to numa.cnuma.c vl.c+3 -40 replies
4/7numa: Make max_numa_nodeid staticinclude/sysemu/numa.h numa.c+3 -40 replies
5/7numa: Move QemuOpts parsing to set_numa_nodes()include/sysemu/numa.h numa.c vl.c+8 -70 replies
6/7numa: Rename option parsing functionsinclude/sysemu/numa.h numa.c vl.c+5 -50 replies
7/7numa: Rename set_numa_modes() to numa_post_machine_init()include/sysemu/numa.h numa.c vl.c+3 -30 replies

Reviews trailers per patch

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

PatchPaolo BonziniMichael S. Tsirkin
SeriesR-b A-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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/7] NUMA code cleanup

This cleans up some of the NUMA code: moves declarations to numa.h, rename some functions, and remove some existing code that was inside main().

Eduardo Habkost (7):
numa: Move NUMA declarations from sysemu.h to numa.h vl.c: Remove unnecessary zero-initialization of NUMA globals
numa: Move NUMA globals to numa.c
numa: Make max_numa_nodeid static
numa: Move QemuOpts parsing to set_numa_nodes()
numa: Rename option parsing functions
numa: Rename set_numa_modes() to numa_post_machine_init()

 hw/i386/pc.c            |  1 +
 hw/mem/pc-dimm.c        |  1 +
 hw/ppc/spapr.c          |  1 +
 include/sysemu/numa.h   | 24 ++++++++++++++++++++++++
 include/sysemu/sysemu.h | 18 ------------------
 monitor.c               |  1 +
 numa.c                  | 20 ++++++++++++++++----
 vl.c                    | 22 +++-------------------
 8 files changed, 47 insertions(+), 41 deletions(-)
 create mode 100644 include/sysemu/numa.h
Signature · 1 line
2.1.0