@@ -90,6 +90,7 @@ struct MachineClass {
const char *default_machine_opts;
const char *default_boot_order;
const char *default_display;
+ GlobalProperty *default_props;
GlobalProperty *compat_props;
const char *hw_version;
ram_addr_t default_ram_size;
@@ -4491,6 +4491,10 @@ int main(int argc, char **argv, char **envp)
exit (i == 1 ? 1 : 0);
}
+ if (machine_class->default_props) {
+ qdev_prop_register_global_list(machine_class->default_props);
+ }
+
if (machine_class->compat_props) {
qdev_prop_register_global_list(machine_class->compat_props);
}
Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- include/hw/boards.h | 1 + vl.c | 4 ++++ 2 files changed, 5 insertions(+)