]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
Disable lack-of-boot-device check for CONFIG_DM case
authorIan Jackson <iwj@mariner.uk.xensource.com>
Thu, 12 Jun 2008 15:19:51 +0000 (16:19 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 12 Jun 2008 15:19:51 +0000 (16:19 +0100)
vl.c

diff --git a/vl.c b/vl.c
index 4ae31449f9bd753e87dd61a28c7bb3b475689b9e..ea933dd74c931d5d89c3bb9c6f01522bcd684943 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -8511,10 +8511,12 @@ int main(int argc, char **argv)
     linux_boot = (kernel_filename != NULL);
     net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF;
 
+#ifndef CONFIG_DM
     /* XXX: this should not be: some embedded targets just have flash */
     if (!linux_boot && net_boot == 0 &&
         nb_drives_opt == 0)
         help(1);
+#endif /*!CONFIG_DM*/
 
     /* boot to floppy or the default cd if no hard disk defined yet */
     if (!boot_devices[0]) {