Add support for binding guest numa nodes to host numa nodes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v19 Latest11 patches 3 repliesIn review
- v1814 patches 38 repliesSuperseded
Changes in v19 from the cover letter
- use complete() method of user_creatable in memdev backend
- implement qmp query-memdev by walking through numa_info[...].node_memdev and using object_property_get to get information as suggested by Paolo
- implement info memdev
- drop ram_backend->relative
- make string output visitor parse int list
- introduce libnuma
Patches in v19 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | object_add: allow completion handler to get canonical pathqmp.c vl.c | +10 | 0 replies | |
| 2/11 | add memdev backend infrastructurebackends/ backends/ backends/ +1 more | +249 | 0 replies | |
| 3/11 | pc: pass QEMUMachineInitArgs to pc_memory_inithw/ hw/ hw/ +1 more | +12 | 0 replies | |
| 4/11 | numa: introduce memory_region_allocate_system_memoryhw/ include/ numa.c | +16 | 0 replies | |
| 5/11 | numa: add -numa node, memdev= optioninclude/ numa.c qapi-schema.json | +72 | 0 replies | |
| 6/11 | qapi: make string input visitor parse int listqapi/ tests/ | +175 | 0 replies | |
| 7/11 | qapi: make string output visitor parse int listqapi/ tests/ | +177 | 3 replies | |
| 8/11 | Add Linux libnuma detectionconfigure | +33 | 0 replies | |
| 9/11 | hostmem backend: implement memory policybackends/ include/ qapi-schema.json | +118 | 0 replies | |
| 10/11 | qmp: add query-memdevbackends/ numa.c qapi-schema.json +1 more | +125 | 0 replies | |
| 11/11 | hmp: add info memdevhmp.c hmp.h monitor.c | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v19 yet.
Cover letter [Qemu-devel] [PATCH v19 00/11] Add support for binding guest numa nodes to host numa nodes
Based on series `convert -numa to QemuOpts/OptsVisitor' posted by Igor at http://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg02801.html.
You can also checkout this series out at
https://github.com/taohu/qemu/tree/numa-binding-v19, including all required patches.
changes in v19:
- use complete() method of user_creatable in memdev backend
- implement qmp query-memdev by walking through numa_info[...].node_memdev and using object_property_get to get information as suggested by Paolo
- implement info memdev
- drop ram_backend->relative
- make string output visitor parse int list
- introduce libnuma
Hu Tao (5):
qapi: make string input visitor parse int list
qapi: make string output visitor parse int list
hostmem backend: implement memory policy
qmp: add query-memdev
hmp: add info memdev
Igor Mammedov (2):
object_add: allow completion handler to get canonical path add memdev backend infrastructure
Paolo Bonzini (3):
pc: pass QEMUMachineInitArgs to pc_memory_init
numa: introduce memory_region_allocate_system_memory
numa: add -numa node,memdev= option
Wanlong Gao (1):
Add detection of libnuma (mostly contained in the numactl package)
to the configure script. Can be enabled or disabled on the command
line, default is use if available.
backends/Makefile.objs | 2 + backends/hostmem-ram.c | 77 ++++++++++++++ backends/hostmem.c | 202 +++++++++++++++++++++++++++++++++++++ configure | 33 ++++++ hmp.c | 27 +++++ hmp.h | 1 + hw/i386/pc.c | 15 ++- hw/i386/pc_piix.c | 8 +- hw/i386/pc_q35.c | 4 +- include/hw/i386/pc.h | 7 +- include/sysemu/hostmem.h | 64 ++++++++++++ include/sysemu/sysemu.h | 8 ++ monitor.c | 7 ++ numa.c | 133 ++++++++++++++++++++++++ qapi-schema.json | 57 ++++++++++- qapi/string-input-visitor.c | 160 +++++++++++++++++++++++++++-- qapi/string-output-visitor.c | 156 +++++++++++++++++++++++++++- qmp-commands.hx | 32 ++++++ qmp.c | 8 +- tests/test-string-input-visitor.c | 21 ++++ tests/test-string-output-visitor.c | 26 +++++ vl.c | 9 +- 22 files changed, 1017 insertions(+), 40 deletions(-) create mode 100644 backends/hostmem-ram.c create mode 100644 backends/hostmem.c create mode 100644 include/sysemu/hostmem.h
Signature · 1 line
1.8.5.2.229.g4448466