From patchwork Wed Oct 22 07:26:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 39256 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6A1A020341 for ; Wed, 22 Oct 2014 07:25:32 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b15sf524958eek.9 for ; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:message-id:references :mime-version:in-reply-to:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-disposition; bh=F8riH0wuTwdVsgEz/wJhREf+cFQUbKWZVDcCq6W6uUs=; b=OxMK/FJaFVgAYuxAB+GfnwsFKUZvNBJFLRBW4qx2h4URSAopO4HHGPDbT0Rt0FdPhv qhDiQHyRYdvzBBk9T13Cg7ovIrMUdX1IX14504v9T94b/zVYrg6z+xjvUSBlDVi4SqWk VHPVzsN4PNjJXb1EL5kYRte54WrVElsdc4ACZ4PmXhLXcj+Qhdop5pazp1/ZPlchM2fY NCvV3rxAzKqYBDIkkWnxjz4Rs0BINTtOMQjOEaxNnhByYGTsGLGk0+3gg7oKBf/WqVbz v+e33V1I3YEcTK12WO5oavUxYx5AVFqzu6edpvgKncRMpzxQAKAAsWskPvzNKTWrggkP eyPg== X-Gm-Message-State: ALoCoQnkguRQaGP2BzNQuaNOEvDOZv4tqVFLgHWZolKPkdTB7cwPZDG9v4kJjLwLn5nTT28+RLrg X-Received: by 10.181.29.105 with SMTP id jv9mr678967wid.1.1413962731589; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.133 with SMTP id b5ls145269lah.26.gmail; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) X-Received: by 10.112.221.197 with SMTP id qg5mr39485990lbc.32.1413962731410; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id q9si22174661lag.92.2014.10.22.00.25.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Oct 2014 00:25:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id p9so2319479lbv.19 for ; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr39312523laz.27.1413962731287; Wed, 22 Oct 2014 00:25:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp25268lbz; Wed, 22 Oct 2014 00:25:30 -0700 (PDT) X-Received: by 10.140.83.203 with SMTP id j69mr50788400qgd.89.1413962730025; Wed, 22 Oct 2014 00:25:30 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o7si26491710qai.67.2014.10.22.00.25.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 22 Oct 2014 00:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:55159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgqIT-0008Qu-4U for patch@linaro.org; Wed, 22 Oct 2014 03:25:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgqGK-0004ua-Or for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgqGE-0007CA-JY for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgqGE-0007C5-C6 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 03:23:10 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9M7N7Ya003677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Oct 2014 03:23:07 -0400 Received: from redhat.com (ovpn-116-33.ams2.redhat.com [10.36.116.33]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id s9M7N5v1029103; Wed, 22 Oct 2014 03:23:06 -0400 Date: Wed, 22 Oct 2014 10:26:42 +0300 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1413962766-28915-4-git-send-email-mst@redhat.com> References: <1413962766-28915-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <1413962766-28915-1-git-send-email-mst@redhat.com> X-Mutt-Fcc: =sent X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Peter Maydell , Laszlo Ersek , Anthony Liguori Subject: [Qemu-devel] [PULL 3/7] i386/pc: add piix and q35 machtypes to sorting families for -M \? 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mst@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Disposition: inline From: Laszlo Ersek With this patch applied, the output of -M \? is > Supported machines are: > pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.2) > pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996) (default) > pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996) > pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996) > pc-1.3 Standard PC (i440FX + PIIX, 1996) > pc-1.2 Standard PC (i440FX + PIIX, 1996) > pc-1.1 Standard PC (i440FX + PIIX, 1996) > pc-1.0 Standard PC (i440FX + PIIX, 1996) > pc-0.15 Standard PC (i440FX + PIIX, 1996) > pc-0.14 Standard PC (i440FX + PIIX, 1996) > pc-0.13 Standard PC (i440FX + PIIX, 1996) > pc-0.12 Standard PC (i440FX + PIIX, 1996) > pc-0.11 Standard PC (i440FX + PIIX, 1996) > pc-0.10 Standard PC (i440FX + PIIX, 1996) > q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.2) > pc-q35-2.2 Standard PC (Q35 + ICH9, 2009) > pc-q35-2.1 Standard PC (Q35 + ICH9, 2009) > pc-q35-2.0 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.7 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.6 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.5 Standard PC (Q35 + ICH9, 2009) > pc-q35-1.4 Standard PC (Q35 + ICH9, 2009) > isapc ISA-only PC > none empty machine RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1145042 Signed-off-by: Laszlo Ersek Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/pc_piix.c | 1 + hw/i386/pc_q35.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 4384633..25ca253 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -451,6 +451,7 @@ static void pc_xen_hvm_init(MachineState *machine) #define PC_I440FX_MACHINE_OPTIONS \ PC_DEFAULT_MACHINE_OPTIONS, \ + .family = "pc_piix", \ .desc = "Standard PC (i440FX + PIIX, 1996)", \ .hot_add_cpu = pc_hot_add_cpu diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index bb0dc8e..905e79d 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -347,6 +347,7 @@ static void pc_q35_init_1_4(MachineState *machine) #define PC_Q35_MACHINE_OPTIONS \ PC_DEFAULT_MACHINE_OPTIONS, \ + .family = "pc_q35", \ .desc = "Standard PC (Q35 + ICH9, 2009)", \ .hot_add_cpu = pc_hot_add_cpu, \ .units_per_default_bus = 1