Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5iJr-0007jO-Po for qemu-devel@nongnu.org; Sun, 17 May 2009 11:30:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5iJn-0007dt-1q for qemu-devel@nongnu.org; Sun, 17 May 2009 11:30:31 -0400 Received: from [199.232.76.173] (port=42910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5iJm-0007dd-Q4 for qemu-devel@nongnu.org; Sun, 17 May 2009 11:30:26 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:48307) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5iJm-0005kW-EP for qemu-devel@nongnu.org; Sun, 17 May 2009 11:30:26 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e34.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n4HFRhCp016211 for ; Sun, 17 May 2009 09:27:43 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n4HFT9hg256012 for ; Sun, 17 May 2009 09:29:09 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n4HFT8ti027279 for ; Sun, 17 May 2009 09:29:09 -0600 From: Anthony Liguori Date: Sun, 17 May 2009 10:28:57 -0500 Message-Id: <1242574141-18488-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/4][RFC] Bring ROM source into tree via git submodules List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Glauber Costa , Alex Graf , Avi Kivity , Dustin Kirkland This series is still a work in progress but I wanted to get some feedback on the general idea. Today we ship ROMs that are required for guests to execute properly. These ROMs are target specific and consist of target code that runs in the guest's context. Because these ROMs require target-specific toolchains, we include binary copies. In some cases, cross compilers aren't available. The ROMs we ship are not easily reproducible today. Some are better documented than others. Distributions typically have a hard requirement that they must build all of their binaries from source. Since we don't distribute the source for these projects, this has led to all sorts of packaging related problems. I would like to make the ROMs we ship buildable via the QEMU make system. I still want to include binary ROMs but I want the building of the ROMs we ship to be a one step process. This series adds git submodules for the BIOS and VGABIOS we use for QEMU. I've setup trees on repo.or.cz that contain the changes we make to each of these projects. The trees are derived from scripts originally written by Avi that among other things, extract out the bios/ directory from the Bochs project. If you do a normal git clone of the QEMU tree, you don't automatically checkout the submodules. To do that, you have to run an explicit git submodule update command. This should make the workflow for most people identical to what it is today. I'd like to make the Makefile logic smarter such that it always installed roms that it builds whenever the right tool chain is available. Distributions would just make use of --disable-blobs and would not need additional packages for etherboot, bochs bios, etc.