From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWBCh-00016I-Q8 for qemu-devel@nongnu.org; Mon, 22 Sep 2014 17:31:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWBCb-0005pl-Lb for qemu-devel@nongnu.org; Mon, 22 Sep 2014 17:31:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWBCb-0005pT-Ea for qemu-devel@nongnu.org; Mon, 22 Sep 2014 17:31:21 -0400 Message-ID: <5420951D.6060201@redhat.com> Date: Mon, 22 Sep 2014 23:31:09 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1411418316-5169-1-git-send-email-lersek@redhat.com> In-Reply-To: <1411418316-5169-1-git-send-email-lersek@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/2] list supported machine types in well-defined order List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , qemu-devel@nongnu.org, marcel.a@redhat.com, afaerber@suse.de, mst@redhat.com, peter.maydell@linaro.org Il 22/09/2014 22:38, Laszlo Ersek ha scritto: > The first patch introduces a generic comparator. This comparator should > cover all machine types at once that don't belong to machine type > "families". Hence, for example, the output it produces for > > qemu-system-aarch64 -M \? > > is meant to be final. (See examples in the patches.) > > The second patch files piix and q35 machine types into their respective > families. > > Paolo said we needed to care about "pseries, pc, q35", but I got no clue > about "pseries", so I didn't touch that. It shouldn't be hard for > someone who knows "pseries" to post a followup patch that covers it. > Until then, "pseries" machine types are listed in alphabetical order (no > families). > > Laszlo Ersek (2): > well-defined listing order for machine types > i386/pc: add piix and q35 machtypes to sorting families for -M \? > > include/hw/boards.h | 2 ++ > hw/i386/pc.c | 1 + > hw/i386/pc_piix.c | 1 + > hw/i386/pc_q35.c | 1 + > vl.c | 38 +++++++++++++++++++++++++++++++++++++- > 5 files changed, 42 insertions(+), 1 deletion(-) > Reviewed-by: Paolo Bonzini