From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvXQi-00074s-Ck for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:46:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvXQc-0006wI-8u for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:46:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvXQc-0006wE-1G for qemu-devel@nongnu.org; Fri, 13 Jun 2014 15:46:22 -0400 From: Eduardo Habkost Date: Fri, 13 Jun 2014 16:44:18 -0300 Message-Id: <1402688658-22333-40-git-send-email-ehabkost@redhat.com> In-Reply-To: <1402688658-22333-1-git-send-email-ehabkost@redhat.com> References: <1402688658-22333-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [RFC v2 39/39] machine: Eliminate QEMUMachine.compat_props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, "Michael S. Tsirkin" Cc: Marcel Apfelbaum , Alexander Graf , Don Slutz , Anthony Liguori , Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= 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 --- 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 da9cadf..d64d5d8 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -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; }; diff --git a/vl.c b/vl.c index b26d033..3e09288 100644 --- a/vl.c +++ b/vl.c @@ -1617,9 +1617,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.0