@@ -40,7 +40,6 @@ struct QEMUMachine {
int is_default;
const char *default_machine_opts;
const char *default_boot_order;
- GlobalProperty *compat_props;
const char *hw_version;
};
@@ -1570,9 +1570,6 @@ static void machine_class_init(ObjectClass *oc, void *data)
mc->default_machine_opts = qm->default_machine_opts;
mc->default_boot_order = qm->default_boot_order;
mc->hw_version = qm->hw_version;
- if (qm->compat_props) {
- machine_class_add_compat_props(mc, qm->compat_props);
- }
}
int qemu_register_machine(QEMUMachine *m)
The only user of QEMUMachine.compat_props was the PC code, that was already converted to QOM. We don't need that field anymore. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- include/hw/boards.h | 1 - vl.c | 3 --- 2 files changed, 4 deletions(-)