Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvHNf-0006Qj-M8 for qemu-devel@nongnu.org; Fri, 26 Mar 2010 17:47:51 -0400 Received: from [140.186.70.92] (port=35052 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvHNb-0006IA-EN for qemu-devel@nongnu.org; Fri, 26 Mar 2010 17:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvHNZ-0004ax-Fc for qemu-devel@nongnu.org; Fri, 26 Mar 2010 17:47:47 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:40390) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvHNZ-0004ak-7p for qemu-devel@nongnu.org; Fri, 26 Mar 2010 17:47:45 -0400 Received: by pvf33 with SMTP id 33so4696281pvf.4 for ; Fri, 26 Mar 2010 14:47:44 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 26 Mar 2010 23:47:43 +0200 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] [PATCH 0/2] Refactor vl.c List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel This patch set is based on top of my patch stack. The first patch does a bit of refactoring so that the second patch can be just code motion. I'm not too happy about "cpus.c" name. The next step is to get rid of all uses of TARGET_* in vl.c so we can compile it just once for all targets. Probably we need a new target specific early init function to set up the values. Blue Swirl (2): Refactor numa mode setting Refactor CPUState handling out of vl.c Makefile.target | 2 +- cpus.c | 757 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ cpus.h | 17 ++ vl.c | 728 +---------------------------------------------------- 4 files changed, 779 insertions(+), 725 deletions(-) create mode 100644 cpus.c create mode 100644 cpus.h