From patchwork Thu Dec 7 18:14:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 121044 Delivered-To: patches@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8688641qgn; Thu, 7 Dec 2017 10:14:58 -0800 (PST) X-Google-Smtp-Source: AGs4zMZiZaMHl90gPrVl9Pfov2wpUMg/Sf0jSnhrQ8t6LZy+wbyEPVkDW3Q/gjk6BcrQ9BjIcm2M X-Received: by 10.223.170.193 with SMTP id i1mr24023578wrc.218.1512670498392; Thu, 07 Dec 2017 10:14:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512670498; cv=none; d=google.com; s=arc-20160816; b=M6AxVjooELQ1z9FJ8IZ5/T5mcJavwtzIr3fRGDcrl97sxaqy1iqBhu3/AZgBeAW4Z4 Ioo2GEaas4zKoQ5VdOWJNtBEPO+wSajtq882cgcinrsOPepfoJAl/ev2/bqMdDr1xTwI y7XM7LFRiYs0T1oV/C6+maeqIzZ0P3XGWz+1HKYguZ9S3H2KgMJGcU13KZ1XMzaal3fF TNt4HqUdRJ2Tzvdv1eL/EtSpV1ggAoLWMcm9nYyMkRBdtMAxKakoO+/q0hDiKLrcAE8E a6YaUghQlksLkf3LdBAIdWJiqXMB0s95VbrQOqm1kiElQWOOrlEovpZSfow6VeLe05GK Xk+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=F0Add09HWDw8QjTIXh0KfJzQVLkGkQgYSsIZGSDfKME=; b=QRoEoV09RRtdo1Q70vHxXV/uFMcOKIGrVAohK2NWuLC4kZmk/WNl++bKFphpVdl+1o GJL8+3uGMdD+xLZfxmqZuskwZUogK61Fpkqwa6fqHO1ZSAwpiqmcz7WasnDguZGrCm+R xlDMNSKJUlqShwVFcr38MuIqR15FjKJKW5KbigshpxvPx5WfDI/TsyjoR1NJ2RU5AkcL YJh0FW+xR/bBArq5mimTg3odRamciltVqgevfyArX6g2+R2Wt2bhA8xh7vn8cC5+XdWm 5oCnYGGSnDXYLU8lqS7+iu69NdENLw1tdpNv53u47Kii2rPkKBwpPE1i2Z3pQTv/D+1L gOIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id u7si4391268wru.419.2017.12.07.10.14.58 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Dec 2017 10:14:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1eN0hF-00082d-RZ; Thu, 07 Dec 2017 18:14:57 +0000 From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: patches@linaro.org, Eduardo Habkost , "Richard W . M . Jones" Subject: [PATCH 5/6] hw/arm/virt: Add "max" to the list of CPU types "virt" supports Date: Thu, 7 Dec 2017 18:14:52 +0000 Message-Id: <1512670493-18114-6-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512670493-18114-1-git-send-email-peter.maydell@linaro.org> References: <1512670493-18114-1-git-send-email-peter.maydell@linaro.org> Allow the virt board to support '-cpu max' in the same way it already handles '-cpu host'. Signed-off-by: Peter Maydell --- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 62af013..92bd776 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -167,6 +167,7 @@ static const char *valid_cpus[] = { ARM_CPU_TYPE_NAME("cortex-a53"), ARM_CPU_TYPE_NAME("cortex-a57"), ARM_CPU_TYPE_NAME("host"), + ARM_CPU_TYPE_NAME("max"), }; static bool cpu_type_valid(const char *cpu)