Skip to content

NUMA series v5

Hu Tao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest16 patches 10 repliesIn review

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16fixup! NUMA: check if the total numa memory size is equal to ram_sizenuma.c+2 -20 replies
2/16vl: redo -object parsingvl.c+36 -290 replies
3/16fixup! qmp: improve error reporting for -object and object-addqmp.c+1 -20 replies
4/16pc: pass MachineState to pc_memory_inithw/i386/pc.c hw/i386/pc_piix.c hw/i386/pc_q35.c +1 more+19 -240 replies
5/16backend:hostmem: replace hostmemory with host_memorybackends/hostmem.c+12 -120 replies
6/16hostmem: separate allocation from UserCreatable complete methodbackends/hostmem-ram.c backends/hostmem.c include/sysemu/hostmem.h+25 -40 replies
7/16fixup! numa: add -numa node, memdev= optionqemu-options.hx+4 -22 replies
8/16hostmem: add file-based HostMemoryBackendbackends/Makefile.objs backends/hostmem-file.c+108 -01 reply
9/16hostmem: add merge and dump propertiesbackends/hostmem.c include/qemu/osdep.h include/sysemu/hostmem.h+94 -10 replies
10/16hostmem: allow preallocation of any memory regionbackends/hostmem-file.c backends/hostmem.c exec.c +4 more+75 -00 replies
11/16hostmem: add property to map memory with MAP_SHAREDbackends/hostmem-file.c exec.c include/exec/memory.h +3 more+42 -120 replies
12/16hostmem: add properties for NUMA memory policybackends/hostmem.c include/sysemu/hostmem.h qapi-schema.json+159 -10 replies
13/16tests: fix memory leak in test of string input visitortests/test-string-input-visitor.c+3 -00 replies
14/16qapi: make string input visitor parse int listqapi/string-input-visitor.c tests/test-string-input-visitor.c+209 -80 replies
15/16qapi: make string output visitor parse int listqapi/string-output-visitor.c tests/test-string-output-visitor.c+254 -100 replies
16/16qmp: add query-memdevnuma.c qapi-schema.json qmp-commands.hx+150 -00 replies

Reviews trailers per patch

3 of 16 patches have a Reviewed-by or Acked-by.

PatchEduardo HabkostIgor Mammedov
1/16R-b
2/16
3/16R-b
4/16R-b
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

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

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 00/16] NUMA series v5

note: based on MST's numa tree.

changes are error messages and docs tweaks to address comments to v4.

Hu Tao (7):
backend:hostmem: replace hostmemory with host_memory
hostmem: separate allocation from UserCreatable complete method
hostmem: add properties for NUMA memory policy
tests: fix memory leak in test of string input visitor
qapi: make string input visitor parse int list
qapi: make string output visitor parse int list
qmp: add query-memdev

Paolo Bonzini (8):
vl: redo -object parsing
fixup! qmp: improve error reporting for -object and object-add
pc: pass MachineState to pc_memory_init
fixup! numa: add -numa node,memdev= option
hostmem: add file-based HostMemoryBackend
hostmem: add merge and dump properties
hostmem: allow preallocation of any memory region
hostmem: add property to map memory with MAP_SHARED

Wanlong Gao (1):
fixup! NUMA: check if the total numa memory size is equal to ram_size

 backends/Makefile.objs             |   1 +
 backends/hostmem-file.c            | 134 ++++++++++++++++
 backends/hostmem-ram.c             |   7 +-
 backends/hostmem.c                 | 304 +++++++++++++++++++++++++++++++++++--
 exec.c                             |  25 ++-
 hw/i386/pc.c                       |  24 +--
 hw/i386/pc_piix.c                  |   8 +-
 hw/i386/pc_q35.c                   |   4 +-
 include/exec/memory.h              |  12 ++
 include/exec/ram_addr.h            |   4 +-
 include/hw/i386/pc.h               |   7 +-
 include/qemu/osdep.h               |  10 ++
 include/sysemu/hostmem.h           |   8 +
 memory.c                           |  14 +-
 numa.c                             |  78 +++++++++-
 qapi-schema.json                   |  60 ++++++++
 qapi/string-input-visitor.c        | 181 +++++++++++++++++++++-
 qapi/string-output-visitor.c       | 230 ++++++++++++++++++++++++++--
 qemu-options.hx                    |   6 +-
 qmp-commands.hx                    |  38 +++++
 qmp.c                              |   3 +-
 tests/test-string-input-visitor.c  |  39 +++++
 tests/test-string-output-visitor.c |  34 +++++
 vl.c                               |  65 ++++----
 24 files changed, 1191 insertions(+), 105 deletions(-)
 create mode 100644 backends/hostmem-file.c
Signature · 1 line
1.9.3