From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAueF-0005US-ME for qemu-devel@nongnu.org; Thu, 11 Dec 2008 18:08:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAueD-0005TN-Rp for qemu-devel@nongnu.org; Thu, 11 Dec 2008 18:08:47 -0500 Received: from [199.232.76.173] (port=41013 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAueD-0005TA-Ht for qemu-devel@nongnu.org; Thu, 11 Dec 2008 18:08:45 -0500 Received: from e2.ny.us.ibm.com ([32.97.182.142]:60047) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAueC-0008Jj-UL for qemu-devel@nongnu.org; Thu, 11 Dec 2008 18:08:45 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id mBBN81oG014492 for ; Thu, 11 Dec 2008 18:08:01 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mBBN8hLH168462 for ; Thu, 11 Dec 2008 18:08:43 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mBC08rXx006699 for ; Thu, 11 Dec 2008 19:08:53 -0500 Subject: Re: [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference board emulation From: Hollis Blanchard In-Reply-To: <494188A2.10009@codemonkey.ws> References: <1229028752-9480-1-git-send-email-hollisb@us.ibm.com> <8d7e31f5f951172065c0bb9a6ec333a052c7ece2.1229027683.git.hollisb@us.ibm.com> <494188A2.10009@codemonkey.ws> Content-Type: text/plain Date: Thu, 11 Dec 2008 17:08:44 -0600 Message-Id: <1229036924.26586.48.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm-ppc@vger.kernel.org On Thu, 2008-12-11 at 15:39 -0600, Anthony Liguori wrote: > Hollis Blanchard wrote: > > + > > +#define BINARY_DEVICE_TREE_FILE "bamboo.dtb" > > + > > +static void *bamboo_load_device_tree(void *addr, > > + uint32_t ramsize, > > + target_phys_addr_t initrd_base, > > + target_phys_addr_t initrd_size, > > + const char *kernel_cmdline) > > +{ > > + void *fdt = NULL; > > +#ifdef HAVE_FDT > > > > Is this at all usable without libfdt? If not, just don't compile this > board in unless libfdt is present. In practice, we've only tested with the -kernel option, which does require libfdt. However, in theory there is nothing that precludes running a firmware (such as u-boot) inside the KVM guest. Jean-Christophe is working on improving the ppc4xx device emulation so that becomes possible in the future. -- Hollis Blanchard IBM Linux Technology Center