[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/36] vl: remove bogus check
From: |
Paolo Bonzini |
Subject: |
[PATCH 02/36] vl: remove bogus check |
Date: |
Mon, 23 Nov 2020 09:14:01 -0500 |
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.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
softmmu/vl.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/softmmu/vl.c b/softmmu/vl.c
index fae72a9071..c45a99a2bf 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -4028,12 +4028,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
--
2.26.2
- [PATCH v3 00/36] cleanup qemu_init and make sense of command line processing, Paolo Bonzini, 2020/11/23
- [PATCH 01/36] vl: extract validation of -smp to machine.c, Paolo Bonzini, 2020/11/23
- [PATCH 02/36] vl: remove bogus check,
Paolo Bonzini <=
- [PATCH 05/36] vl: extract qemu_init_subsystems, Paolo Bonzini, 2020/11/23
- [PATCH 06/36] vl: move prelaunch part of qemu_init to new functions, Paolo Bonzini, 2020/11/23
- [PATCH 04/36] vl: move various initialization routines out of qemu_init, Paolo Bonzini, 2020/11/23
- [PATCH 03/36] vl: split various early command line options to a separate function, Paolo Bonzini, 2020/11/23
- [PATCH 07/36] vl: extract various command line validation snippets to a new function, Paolo Bonzini, 2020/11/23
- [PATCH 09/36] vl: extract various command line desugaring snippets to a new function, Paolo Bonzini, 2020/11/23
- [PATCH 11/36] vl: create "-net nic -net user" default earlier, Paolo Bonzini, 2020/11/23
- [PATCH 12/36] vl: load plugins as late as possible, Paolo Bonzini, 2020/11/23