[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 22/36] vl: move -global check earlier
From: |
Paolo Bonzini |
Subject: |
[PATCH 22/36] vl: move -global check earlier |
Date: |
Mon, 23 Nov 2020 09:14:21 -0500 |
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.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
softmmu/vl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 073d7412ad..ccc3b8e838 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3483,6 +3483,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));
@@ -4540,7 +4542,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);
--
2.26.2
- Re: [PATCH 12/36] vl: load plugins as late as possible, (continued)
- [PATCH 15/36] vl: move CHECKPOINT_INIT after preconfig, Paolo Bonzini, 2020/11/23
- [PATCH 10/36] qemu-option: restrict qemu_opts_set to merge-lists QemuOpts, Paolo Bonzini, 2020/11/23
- [PATCH 14/36] vl: extract default devices to separate functions, Paolo Bonzini, 2020/11/23
- [PATCH 13/36] vl: move semihosting command line fallback to qemu_init_board, Paolo Bonzini, 2020/11/23
- [PATCH 08/36] vl: preconfig and loadvm are mutually exclusive, Paolo Bonzini, 2020/11/23
- [PATCH 17/36] vl: separate qemu_create_late_backends, Paolo Bonzini, 2020/11/23
- [PATCH 22/36] vl: move -global check earlier,
Paolo Bonzini <=
- [PATCH 18/36] vl: separate qemu_create_machine, Paolo Bonzini, 2020/11/23
- [PATCH 25/36] hmp: introduce cmd_available, Paolo Bonzini, 2020/11/23
- [PATCH 16/36] vl: separate qemu_create_early_backends, Paolo Bonzini, 2020/11/23
- [PATCH 23/36] migration, vl: start migration via qmp_migrate_incoming, Paolo Bonzini, 2020/11/23
- [PATCH 20/36] vl: separate qemu_resolve_machine_memdev, Paolo Bonzini, 2020/11/23
- [PATCH 26/36] remove preconfig state, Paolo Bonzini, 2020/11/23