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 <ehabk...@redhat.com> --- include/hw/boards.h | 1 - vl.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/hw/boards.h b/include/hw/boards.h index e9ddbc9..bbc7a9d 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -41,7 +41,6 @@ struct QEMUMachine { int is_default; const char *default_machine_opts; const char *default_boot_order; - GlobalProperty *compat_props; const char *hw_version; }; diff --git a/vl.c b/vl.c index 140fea4..b004f84 100644 --- a/vl.c +++ b/vl.c @@ -1588,9 +1588,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) -- 1.9.3