diff options
author | Paolo Bonzini | 2020-10-21 12:07:55 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:15:11 +0100 |
commit | db372edc06889445106796430567c07fce146490 (patch) | |
tree | c27b64975eef3d39500dae831199082f74a85aad /softmmu/vl.c | |
parent | vl: extract validation of -smp to machine.c (diff) | |
download | qemu-db372edc06889445106796430567c07fce146490.tar.gz qemu-db372edc06889445106796430567c07fce146490.tar.xz qemu-db372edc06889445106796430567c07fce146490.zip |
vl: remove bogus check
There is no reason to prevent -preconfig -daemonize. Of course if
no monitor is defined there will be no way to start the VM,
but that is a user error.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index 69d54b27b9..2f2372bac7 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -4032,12 +4032,6 @@ void qemu_init(int argc, char **argv, char **envp) } if (is_daemonized()) { - if (!preconfig_exit_requested) { - error_report("'preconfig' and 'daemonize' options are " - "mutually exclusive"); - exit(EXIT_FAILURE); - } - /* According to documentation and historically, -nographic redirects * serial port, parallel port and monitor to stdio, which does not work * with -daemonize. We can redirect these to null instead, but since |