From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFQYy-0000BF-Ap for qemu-devel@nongnu.org; Mon, 17 Feb 2014 10:57:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFQYt-00057Y-5j for qemu-devel@nongnu.org; Mon, 17 Feb 2014 10:56:56 -0500 From: Igor Mammedov Date: Mon, 17 Feb 2014 16:49:41 +0100 Message-Id: <1392652187-28381-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] convert -numa to QemuOpts/OptsVisitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: agraf@suse.de, andre.przywara@amd.com, stefanha@redhat.com, mst@redhat.com, peter.maydell@linaro.org, armbru@redhat.com, ehabkost@redhat.com, lcapitulino@redhat.com, qemu-ppc@nongnu.org, aliguori@amazon.com, pbonzini@redhat.com, afaerber@suse.de, gaowanlong@cn.fujitsu.com, rth@twiddle.net ... while at it move most of numa related code to a dedicated file so that it won't to clatter vl.c. git tree for testing: https://github.com/imammedo/qemu/commits/numa_prep_v1 Igor Mammedov (1): vl.c: fix style issue Wanlong Gao (5): 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 Makefile.target | 2 +- cpus.c | 14 ---- hw/i386/pc.c | 14 ++- hw/ppc/spapr.c | 11 ++- include/sysemu/cpus.h | 1 - include/sysemu/sysemu.h | 14 +++- monitor.c | 2 +- numa.c | 189 +++++++++++++++++++++++++++++++++++++++++++++++ qapi-schema.json | 32 ++++++++ vl.c | 155 +++----------------------------------- 10 files changed, 262 insertions(+), 172 deletions(-) create mode 100644 numa.c