From: Ian Jackson Date: Thu, 12 Jun 2008 15:19:51 +0000 (+0100) Subject: Disable lack-of-boot-device check for CONFIG_DM case X-Git-Tag: xen-3.3.0-rc1~76 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3665f143d88f7bfd8c8097a01520b0f854cccbea;p=qemu-xen-4.6-testing.git Disable lack-of-boot-device check for CONFIG_DM case --- diff --git a/vl.c b/vl.c index 4ae31449f..ea933dd74 100644 --- 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]) {