Received: from eggs.gnu.org ([2001:4830:134:3::10]:52941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSjTe-0002af-SY for qemu-devel@nongnu.org; Fri, 21 Aug 2015 06:23:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSjTb-000637-Ne for qemu-devel@nongnu.org; Fri, 21 Aug 2015 06:23:14 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:57412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSjTb-00061q-DO for qemu-devel@nongnu.org; Fri, 21 Aug 2015 06:23:11 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 21 Aug 2015 11:23:07 +0100 Date: Fri, 21 Aug 2015 12:23:01 +0200 From: Cornelia Huck Message-ID: <20150821122301.56569318.cornelia.huck@de.ibm.com> In-Reply-To: <1440107676-17326-1-git-send-email-ehabkost@redhat.com> References: <1440107676-17326-1-git-send-email-ehabkost@redhat.com> 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, Richard Henderson , Andreas =?UTF-8?B?RsOkcmJlcg==?= , David Gibson On Thu, 20 Aug 2015 14:54:26 -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.) I've played around with the s390 machines a bit and it seems to do the right thing using the same commandlines as before. One question: info qom-tree shows the new machine class names - is there anybody (other than a human looking at it) making use of that information?