Received: from eggs.gnu.org ([2001:4830:134:3::10]:53337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXP7X-0006Pv-LP for qemu-devel@nongnu.org; Thu, 03 Sep 2015 03:39:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXP7S-0002Br-MK for qemu-devel@nongnu.org; Thu, 03 Sep 2015 03:39:43 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:44128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXP7S-0002B6-85 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 03:39:38 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 3 Sep 2015 08:39:36 +0100 Date: Thu, 3 Sep 2015 09:39:30 +0200 From: Cornelia Huck Message-ID: <20150903093930.02928d41.cornelia.huck@de.ibm.com> In-Reply-To: <20150902195845.GC4408@thinpad.lan.raisama.net> References: <1440107676-17326-1-git-send-email-ehabkost@redhat.com> <20150902195845.GC4408@thinpad.lan.raisama.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 00/10] Fix machine class names to use the "-machine" suffix List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Peter Maydell , Marcel Apfelbaum , Alexander Graf , qemu-devel@nongnu.org, Christian Borntraeger , qemu-ppc@nongnu.org, David Gibson , Andreas =?UTF-8?B?RsOkcmJlcg==?= , Richard Henderson On Wed, 2 Sep 2015 16:58:45 -0300 Eduardo Habkost wrote: > Ping? In case that helps: Acked-by: Cornelia Huck > > Andreas, should this go through your QOM tree? > > On Thu, Aug 20, 2015 at 02:54:26PM -0700, Eduardo Habkost wrote: > > The machine class names in QEMU are not consistent today. Some of them use the > > "-machine" suffix, but some use completely different naming conventions. This > > makes it difficult to implement machine class lookup without iterating through > > the whole list of machine classes. > > > > This series changes all machines to use "-machine" as the class > > name, so we can simply use object_class_by_name() in the future to lookup > > machine classes. (This was not done yet because it will also require some > > changes in the way aliases are handled.) > > > > Cc: Alexander Graf > > Cc: Christian Borntraeger > > Cc: Cornelia Huck > > Cc: Peter Maydell > > Cc: qemu-ppc@nongnu.org > > Cc: Richard Henderson > > > > Eduardo Habkost (10): > > machine: MACHINE_TYPE_NAME macro > > vexpress: Don't set name on abstract class > > vexpress: Rename machine classes to use MACHINE_TYPE_NAME > > arm: Rename virt machine class to use MACHINE_TYPE_NAME > > pseries: Rename machine class names to use MACHINE_TYPE_NAME > > s390-virtio: Rename machine class name to use MACHINE_TYPE_NAME > > s390: Rename s390-ccw-virtio-2.4 class name to use MACHINE_TYPE_NAME > > mac99: Use MACHINE_TYPE_NAME to encode class name > > machine: Ensure all TYPE_MACHINE subclasses have the right suffix > > machine: Set MachineClass::name automatically > > > > hw/arm/vexpress.c | 7 ++----- > > hw/arm/virt.c | 4 ++-- > > hw/core/machine.c | 12 ++++++++++++ > > hw/ppc/mac_newworld.c | 3 +-- > > hw/ppc/spapr.c | 12 ++++-------- > > hw/s390x/s390-virtio-ccw.c | 2 +- > > hw/s390x/s390-virtio.c | 4 ++-- > > include/hw/boards.h | 6 ++++++ > > vl.c | 3 +-- > > 9 files changed, 31 insertions(+), 22 deletions(-) > > > > -- > > 2.1.0 > > > > >