From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XI0gH-000255-MX for qemu-devel@nongnu.org; Thu, 14 Aug 2014 15:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XI0gB-0006io-J9 for qemu-devel@nongnu.org; Thu, 14 Aug 2014 15:27:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XI0gB-0006iU-BE for qemu-devel@nongnu.org; Thu, 14 Aug 2014 15:27:19 -0400 From: Eduardo Habkost Date: Thu, 14 Aug 2014 16:25:47 -0300 Message-Id: <1408044362-11621-19-git-send-email-ehabkost@redhat.com> In-Reply-To: <1408044362-11621-1-git-send-email-ehabkost@redhat.com> References: <1408044362-11621-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v4 18/33] machine: Eliminate QEMUMachine.compat_props List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , "Michael S. Tsirkin" , Alexander Graf , Don Slutz , 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 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