Skip to content
Snippets Groups Projects
Commit cca686b4 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarIgor Mammedov <imammedo@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 7691bdef
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment