diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-27 04:26:14 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-10 12:15:14 -0500 |
commit | cca686b44aa1315df4cda4dee56ca601050fab71 (patch) | |
tree | e4ad42d6ee62ab61b100f44d3a1560ff20dc7b51 /softmmu/vl.c | |
parent | 7691bdef693c04e2a0c40846cda089c28016e043 (diff) | |
download | qemu-cca686b44aa1315df4cda4dee56ca601050fab71.zip qemu-cca686b44aa1315df4cda4dee56ca601050fab71.tar.gz qemu-cca686b44aa1315df4cda4dee56ca601050fab71.tar.bz2 |
vl: move -global check earlier
The check has the same effect here, it only matters that it is performed
once all devices, both builtin and user-specified, have been created.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r-- | softmmu/vl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index 6a29729..e65eb0c 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -3490,6 +3490,8 @@ static void qemu_machine_creation_done(void) net_check_clients(); } + qdev_prop_check_globals(); + if (boot_once) { qemu_boot_set(boot_once, &error_fatal); qemu_register_reset(restore_boot_order, g_strdup(boot_order)); @@ -4547,7 +4549,6 @@ void qemu_init(int argc, char **argv, char **envp) replay_vmstate_init(); } - qdev_prop_check_globals(); if (vmstate_dump_file) { /* dump and exit */ dump_vmstate_json_to_file(vmstate_dump_file); |