kvm: Drop kvm_patch_opcode_byte (Jan Kiszka)
[qemu] / vl.c
diff --git a/vl.c b/vl.c
index 1c22d4c..5e6c621 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -148,6 +148,7 @@ int main(int argc, char **argv)
 #include "qemu-char.h"
 #include "cache-utils.h"
 #include "block.h"
+#include "dma.h"
 #include "audio/audio.h"
 #include "migration.h"
 #include "kvm.h"
@@ -5032,10 +5033,6 @@ int main(int argc, char **argv, char **envp)
     linux_boot = (kernel_filename != NULL);
     net_boot = (boot_devices_bitmap >> ('n' - 'a')) & 0xF;
 
-    if (!linux_boot && net_boot == 0 &&
-        !machine->nodisk_ok && nb_drives_opt == 0)
-        help(1);
-
     if (!linux_boot && *kernel_cmdline != '\0') {
         fprintf(stderr, "-append only allowed with -kernel option\n");
         exit(1);