]> git.proxmox.com Git - mirror_qemu.git/blobdiff - vl.c
Revert "vl: Fix to create migration object before block backends again"
[mirror_qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 027b853d9250f55a600e88146c30b9435f21a62e..9b215341a39a18abb633e5cec945dfc6e36da1f2 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -3119,6 +3119,7 @@ int main(int argc, char **argv, char **envp)
         if (optind >= argc)
             break;
         if (argv[optind][0] != '-') {
+            loc_set_cmdline(argv, optind, 1);
             drive_add(IF_DEFAULT, 0, argv[optind++], HD_OPTS);
         } else {
             const QEMUOption *popt;
@@ -3201,7 +3202,7 @@ int main(int argc, char **argv, char **envp)
 #ifdef CONFIG_CURSES
                 dpy.type = DISPLAY_TYPE_CURSES;
 #else
-                error_report("curses support is disabled");
+                error_report("curses or iconv support is disabled");
                 exit(1);
 #endif
                 break;