From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wtwpq-0005Xf-NX for qemu-devel@nongnu.org; Mon, 09 Jun 2014 06:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wtwpk-0001ff-Aq for qemu-devel@nongnu.org; Mon, 09 Jun 2014 06:29:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wtwpk-0001fa-3G for qemu-devel@nongnu.org; Mon, 09 Jun 2014 06:29:44 -0400 Date: Mon, 9 Jun 2014 13:30:05 +0300 From: "Michael S. Tsirkin" Message-ID: <20140609103005.GA25281@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v4 00/29] NUMA series and hostmem improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Yasunori Goto , Paolo Bonzini , Igor Mammedov , qemu-devel@nongnu.org, Eduardo Habkost On Mon, Jun 09, 2014 at 06:25:05PM +0800, Hu Tao wrote: > note: this series is based on MST's pci tree. No, please rebase on top of numa branch in my tree, not on pci branch. I applied a bunch of your there and don't want spend time going over them again. > changes to v3.2: > > - rebase to latest git tree since there are several conflicts > - no error_is_set() now > - no QEMUMachineInitArgs now > - use mbind flag MPOL_MF_STRICT to catch memory allocations that don't > follow policy > - some document & error message fix > > > Hu Tao (8): > hostmem: separate allocation from UserCreatable complete method > hostmem: add properties for NUMA memory policy > 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 > > Luiz Capitulino (1): > man: improve -numa doc > > Paolo Bonzini (14): > vl: redo -object parsing > qmp: improve error reporting for -object and object-add > pc: pass MachineState 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: 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 | 1 + > backends/hostmem-file.c | 134 ++++++++++++++ > backends/hostmem-ram.c | 7 +- > backends/hostmem.c | 300 +++++++++++++++++++++++++++++-- > configure | 32 ++++ > cpus.c | 14 -- > exec.c | 211 +++++++++++----------- > hmp.c | 36 ++++ > hmp.h | 1 + > hw/i386/pc.c | 37 ++-- > hw/i386/pc_piix.c | 8 +- > hw/i386/pc_q35.c | 4 +- > hw/ppc/spapr.c | 11 +- > 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/osdep.h | 12 ++ > include/qemu/range.h | 124 +++++++++++++ > include/qom/object.h | 28 +++ > include/sysemu/cpus.h | 1 - > include/sysemu/hostmem.h | 8 + > include/sysemu/sysemu.h | 18 +- > memory.c | 29 +++ > monitor.c | 9 +- > numa.c | 354 +++++++++++++++++++++++++++++++++++++ > qapi-schema.json | 91 ++++++++++ > qapi/string-input-visitor.c | 181 ++++++++++++++++++- > qapi/string-output-visitor.c | 230 ++++++++++++++++++++++-- > qemu-options.hx | 16 +- > qmp-commands.hx | 32 ++++ > qmp.c | 3 +- > qom/object.c | 35 ++++ > tests/test-string-input-visitor.c | 39 ++++ > tests/test-string-output-visitor.c | 34 ++++ > util/oslib-posix.c | 73 ++++++++ > vl.c | 216 +++++----------------- > 40 files changed, 2014 insertions(+), 377 deletions(-) > create mode 100644 backends/hostmem-file.c > create mode 100644 numa.c > > -- > 1.9.3