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 -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html