From patchwork Wed Apr 9 17:34:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Apfelbaum X-Patchwork-Id: 337899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 284AA1400E4 for ; Thu, 10 Apr 2014 03:38:15 +1000 (EST) Received: from localhost ([::1]:47423 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXwRx-0001np-Af for incoming@patchwork.ozlabs.org; Wed, 09 Apr 2014 13:38:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXwOo-0005bx-R6 for qemu-devel@nongnu.org; Wed, 09 Apr 2014 13:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXwOi-000739-N7 for qemu-devel@nongnu.org; Wed, 09 Apr 2014 13:34:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXwOi-00072v-B2 for qemu-devel@nongnu.org; Wed, 09 Apr 2014 13:34:52 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s39HYbth015376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 Apr 2014 13:34:37 -0400 Received: from localhost.localdomain.com (vpn1-6-163.ams2.redhat.com [10.36.6.163]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s39HYPDI020183; Wed, 9 Apr 2014 13:34:32 -0400 From: Marcel Apfelbaum To: qemu-devel@nongnu.org Date: Wed, 9 Apr 2014 20:34:49 +0300 Message-Id: <1397064893-11526-2-git-send-email-marcel.a@redhat.com> In-Reply-To: <1397064893-11526-1-git-send-email-marcel.a@redhat.com> References: <1397064893-11526-1-git-send-email-marcel.a@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: peter.maydell@linaro.org, famz@redhat.com, stefanha@redhat.com, stefano.stabellini@eu.citrix.com, alex@alex.org.uk, armbru@redhat.com, mst@redhat.com, agraf@suse.de, lcapitulino@redhat.com, aliguori@amazon.com, anthony.perard@citrix.com, pbonzini@redhat.com, afaerber@suse.de, rth@twiddle.net Subject: [Qemu-devel] [PATCH V3 1/5] hw/boards.h: remove obsoleted field from QEMUMachine X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This field shouldn't be used any more since we adopted the QOM way of iterating over the types. The commit that obsoleted it is: commit 261747f176f6f2d88f8268aaebfdd1a1afe887e2 vl: Use MachineClass instead of global QEMUMachine list The machine registration flow is refactored to use the QOM functionality. Instead of linking the machines into a list, each machine has a type and the types can be traversed in the QOM way. Signed-off-by: Marcel Apfelbaum --- include/hw/boards.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/boards.h b/include/hw/boards.h index dd2c70d..aaaa871 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -46,7 +46,6 @@ struct QEMUMachine { const char *default_machine_opts; const char *default_boot_order; GlobalProperty *compat_props; - struct QEMUMachine *next; const char *hw_version; };