Received: from eggs.gnu.org ([2001:4830:134:3::10]:58484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKWxJ-0003MG-5Q for qemu-devel@nongnu.org; Sun, 08 Feb 2015 13:51:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKWxG-0005Vb-0S for qemu-devel@nongnu.org; Sun, 08 Feb 2015 13:51:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKWxF-0005VO-QH for qemu-devel@nongnu.org; Sun, 08 Feb 2015 13:51:37 -0500 From: Eduardo Habkost Date: Sun, 8 Feb 2015 16:51:15 -0200 Message-Id: <1423421482-11619-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] NUMA code cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hu Tao , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov This cleans up some of the NUMA code: moves declarations to numa.h, rename some functions, and remove some existing code that was inside main(). Eduardo Habkost (7): numa: Move NUMA declarations from sysemu.h to numa.h vl.c: Remove unnecessary zero-initialization of NUMA globals numa: Move NUMA globals to numa.c numa: Make max_numa_nodeid static numa: Move QemuOpts parsing to set_numa_nodes() numa: Rename option parsing functions numa: Rename set_numa_modes() to numa_post_machine_init() hw/i386/pc.c | 1 + hw/mem/pc-dimm.c | 1 + hw/ppc/spapr.c | 1 + include/sysemu/numa.h | 24 ++++++++++++++++++++++++ include/sysemu/sysemu.h | 18 ------------------ monitor.c | 1 + numa.c | 20 ++++++++++++++++---- vl.c | 22 +++------------------- 8 files changed, 47 insertions(+), 41 deletions(-) create mode 100644 include/sysemu/numa.h -- 2.1.0