Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NveD2-0000lA-Qr for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:24 -0400 Received: from [140.186.70.92] (port=45927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NveD1-0000kN-6r for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NveCc-0007RR-QR for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:10:01 -0400 Received: from mail-pw0-f45.google.com ([209.85.160.45]:50519) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NveCc-0007RN-LP for qemu-devel@nongnu.org; Sat, 27 Mar 2010 18:09:58 -0400 Received: by pwi9 with SMTP id 9so6750201pwi.4 for ; Sat, 27 Mar 2010 15:09:57 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 28 Mar 2010 00:09:57 +0200 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] [PATCH 0/7] Compile vl.c only once List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel With this set of patches against HEAD, I'm finally able to compile vl.c only once. Comments? Objections? The patches can be found in: git://repo.or.cz/qemu/blueswirl.git http://repo.or.cz/r/qemu/blueswirl.git Blue Swirl (7): Adjust debug handling Allow various header files to be included from non-CPU code Move cpu_exec_init_all() declaration to qemu-common.h Move KVM and Xen global flags to vl.c Refactor a few architecture dependent pieces in vl.c Refactor CPUState handling out of vl.c Refactor target specific handling, compile vl.c only once Makefile.objs | 12 +- Makefile.target | 13 +- arch_init.c | 509 +++++++++++++++++++++ arch_init.h | 33 ++ balloon.h | 2 - cpu-all.h | 1 - cpus.c | 773 ++++++++++++++++++++++++++++++++ cpus.h | 18 + gdbstub.h | 12 +- hw/xen_machine_pv.c | 3 - kvm-all.c | 2 - kvm.h | 7 +- qemu-common.h | 2 + qemu-options.hx | 309 +++++++------- sysemu.h | 4 - vl.c | 1219 +++------------------------------------------------ 16 files changed, 1570 insertions(+), 1349 deletions(-) create mode 100644 arch_init.c create mode 100644 arch_init.h create mode 100644 cpus.c create mode 100644 cpus.h