changes to v2.1: - switch all boards to memory_region_allocate_system_memory - make string input/output visitor parse int list - add hmp info memdev - tweaks to get pass of checkpatch.pl.
You can search `Current state of NUMA series, and hostmem improvements' for the link of v2.1. Sorry for not giving the link directly as my network is down at the time I am sending the series. Hu Tao (8): hostmem: add properties for NUMA memory policy hw: switch all boards to use memory_region_allocate_system_memory Introduce signed range. qapi: make string input visitor parse int list qapi: make string output visitor parse int list qom: introduce object_property_get_enum and object_property_get_uint16List qmp: add query-memdev hmp: add info memdev Igor Mammedov (3): vl: convert -m to QemuOpts qmp: allow object-add completion handler to get canonical path add memdev backend infrastructure Luiz Capitulino (1): man: improve -numa doc Paolo Bonzini (16): qemu-option: introduce qemu_find_opts_singleton vl: redo -object parsing qmp: improve error reporting for -object and object-add pc: pass QEMUMachineInitArgs to pc_memory_init numa: introduce memory_region_allocate_system_memory numa: add -numa node,memdev= option memory: reorganize file-based allocation memory: move mem_path handling to memory_region_allocate_system_memory memory: add error propagation to file-based RAM allocation memory: move preallocation code out of exec.c memory: move RAM_PREALLOC_MASK to exec.c, rename hostmem: add file-based HostMemoryBackend hostmem: separate allocation from UserCreatable complete method hostmem: add merge and dump properties hostmem: allow preallocation of any memory region hostmem: add property to map memory with MAP_SHARED Wanlong Gao (6): NUMA: move numa related code to new file numa.c NUMA: check if the total numa memory size is equal to ram_size NUMA: Add numa_info structure to contain numa nodes info NUMA: convert -numa option to use OptsVisitor NUMA: expand MAX_NODES from 64 to 128 configure: add Linux libnuma detection Makefile.target | 2 +- backends/Makefile.objs | 3 + backends/hostmem-file.c | 134 ++++++++++++ backends/hostmem-ram.c | 50 +++++ backends/hostmem.c | 349 ++++++++++++++++++++++++++++++ configure | 33 +++ cpus.c | 14 -- exec.c | 211 +++++++++--------- hmp.c | 36 ++++ hmp.h | 1 + hw/alpha/typhoon.c | 4 +- hw/arm/cubieboard.c | 5 +- hw/arm/digic_boards.c | 3 +- hw/arm/exynos4210.c | 18 +- hw/arm/highbank.c | 3 +- hw/arm/integratorcp.c | 4 +- hw/arm/kzm.c | 3 +- hw/arm/musicpal.c | 4 +- hw/arm/omap1.c | 5 +- hw/arm/omap2.c | 5 +- hw/arm/pxa2xx.c | 9 +- hw/arm/realview.c | 11 +- hw/arm/strongarm.c | 5 +- hw/arm/versatilepb.c | 4 +- hw/arm/vexpress.c | 8 +- hw/arm/virt.c | 4 +- hw/arm/xilinx_zynq.c | 4 +- hw/block/onenand.c | 7 +- hw/cris/axis_dev88.c | 4 +- hw/i386/pc.c | 27 +-- hw/i386/pc_piix.c | 8 +- hw/i386/pc_q35.c | 4 +- hw/lm32/lm32_boards.c | 8 +- hw/lm32/milkymist.c | 4 +- hw/m68k/an5206.c | 4 +- hw/m68k/dummy_m68k.c | 4 +- hw/m68k/mcf5208.c | 4 +- hw/microblaze/petalogix_ml605_mmu.c | 5 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 5 +- hw/mips/mips_fulong2e.c | 4 +- hw/mips/mips_jazz.c | 4 +- hw/mips/mips_malta.c | 4 +- hw/mips/mips_mipssim.c | 4 +- hw/mips/mips_r4k.c | 4 +- hw/moxie/moxiesim.c | 4 +- hw/openrisc/openrisc_sim.c | 3 +- hw/ppc/e500.c | 4 +- hw/ppc/mac_newworld.c | 4 +- hw/ppc/mac_oldworld.c | 4 +- hw/ppc/ppc405_boards.c | 22 +- hw/ppc/ppc4xx_devs.c | 38 +++- hw/ppc/prep.c | 3 +- hw/ppc/spapr.c | 15 +- hw/ppc/virtex_ml507.c | 3 +- hw/s390x/s390-virtio-ccw.c | 4 +- hw/s390x/s390-virtio.c | 4 +- hw/sh4/r2d.c | 4 +- hw/sh4/shix.c | 12 +- hw/sparc/leon3.c | 3 +- hw/sparc/sun4m.c | 4 +- hw/sparc64/sun4u.c | 4 +- hw/unicore32/puv3.c | 4 +- hw/xtensa/xtensa_lx60.c | 4 +- hw/xtensa/xtensa_sim.c | 4 +- include/exec/cpu-all.h | 8 - include/exec/cpu-common.h | 2 + include/exec/memory.h | 33 +++ include/exec/ram_addr.h | 4 + include/hw/boards.h | 6 +- include/hw/i386/pc.h | 7 +- include/qemu/config-file.h | 2 + include/qemu/osdep.h | 12 ++ include/qemu/range.h | 119 +++++++++++ include/qom/object.h | 18 ++ include/sysemu/cpus.h | 1 - include/sysemu/hostmem.h | 67 ++++++ include/sysemu/sysemu.h | 18 +- memory.c | 29 +++ monitor.c | 9 +- numa.c | 355 +++++++++++++++++++++++++++++++ qapi-schema.json | 91 ++++++++ qapi/string-input-visitor.c | 158 +++++++++++++- qapi/string-output-visitor.c | 236 +++++++++++++++++++- qemu-options.hx | 25 ++- qmp-commands.hx | 32 +++ qmp.c | 11 +- qom/object.c | 35 +++ tests/test-string-input-visitor.c | 34 +++ tests/test-string-output-visitor.c | 35 +++ util/oslib-posix.c | 73 +++++++ util/qemu-config.c | 14 ++ vl.c | 320 +++++++++------------------- 92 files changed, 2395 insertions(+), 542 deletions(-) create mode 100644 backends/hostmem-file.c create mode 100644 backends/hostmem-ram.c create mode 100644 backends/hostmem.c create mode 100644 include/sysemu/hostmem.h create mode 100644 numa.c -- 1.8.5.2.229.g4448466