mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
monitor: Loosen coupling between misc.c and monitor.c slightly
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230124121946.1139465-32-armbru@redhat.com>
This commit is contained in:
@@ -299,7 +299,7 @@ static void process_options(int argc, char *argv[], bool pre_init_pass)
|
||||
case OPTION_DAEMONIZE:
|
||||
if (os_set_daemonize(true) < 0) {
|
||||
/*
|
||||
* --daemonize is parsed before monitor_init_globals_core(), so
|
||||
* --daemonize is parsed before monitor_init_globals(), so
|
||||
* error_report() does not work yet
|
||||
*/
|
||||
fprintf(stderr, "--daemonize not supported in this build\n");
|
||||
@@ -411,7 +411,7 @@ int main(int argc, char *argv[])
|
||||
qemu_add_opts(&qemu_trace_opts);
|
||||
qcrypto_init(&error_fatal);
|
||||
bdrv_init();
|
||||
monitor_init_globals_core();
|
||||
monitor_init_globals();
|
||||
init_qmp_commands();
|
||||
|
||||
if (!trace_init_backends()) {
|
||||
|
||||
Reference in New Issue
Block a user