diff --git a/vl.c b/vl.c index dd56a82f09267207ca17dfa168f8a409154bc5dc..680f4d82a5583a1c5057339d6c4a95fa69cc97ac 100644 --- a/vl.c +++ b/vl.c @@ -4049,7 +4049,7 @@ int main(int argc, char **argv, char **envp) exit(1); } - if (qemu_opts_foreach(qemu_find_opts("device"), device_help_func, NULL, 0) + if (qemu_opts_foreach(qemu_find_opts("device"), device_help_func, NULL, 1) != 0) { exit(0); }