From nobody Tue Feb 10 02:54:53 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.218.48 as permitted sender) client-ip=209.85.218.48; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-ej1-f48.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.218.48 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1612536247; cv=none; d=zohomail.com; s=zohoarc; b=Yy9gRfr77lUO3X1sUGOkQSJoBPhak/bF9NBsIF1btpOIcG2zxNIp82gox0X92uCdtBuCklYDWKQmiK1V2qPmxgmhmHAah/4cSzOUeNL4IY+7JPvj2927JH1Hm/1Az6rtzHFnBsyVKC5F2C6G/NB7oTmMoevu210sNd5M1WEbnhg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612536247; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dblZ2cMrQMLC69vQiQ7PjI15tp+Aw6tS1AsWq28yjKE=; b=gTWl9l+t3N4pnkmUA5o5yvb7dlh0XHMHScE0R3krI/HBEWaC1JU6QOD+Zvi37u0U/CpopS+uhC2re9bTvDN2jrUDd+MdrMBo3CFLUZIRIg1mRevRuwUgsV0FFiBKrMELLOJ2aVdyp85mPB+fOFbQgCbUptdMRy6Quo51bT0bEQ0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.218.48 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.zohomail.com with SMTPS id 1612536247124111.27056207790656; Fri, 5 Feb 2021 06:44:07 -0800 (PST) Received: by mail-ej1-f48.google.com with SMTP id hs11so12376843ejc.1 for ; Fri, 05 Feb 2021 06:44:06 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id g16sm3980102ejo.107.2021.02.05.06.44.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 06:44:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dblZ2cMrQMLC69vQiQ7PjI15tp+Aw6tS1AsWq28yjKE=; b=bGc1ZUgV/Nx9pGAJJXViDeubeLJ3KSyyySwPiOg1BcmYgeuNDgULMpXA2lFqCQOS+2 dVofPa6szRxLCBGdumWJ2Hq0PqqT0FN1q4vuwoscidrgEsV2f/FbsPay+3W+PPTrN7mE QF7hjGJYJ+gas9Oh2k3oL2yzoysFyU6zXuRI5SlXwHkiVTNXo76aE+wjbEFkMyAeKuE/ qLGRuoOtLaezzyOnrjmdja+hhb1yqoZpyA2VDbjU1m3oO1yugGKvDCwklLjPJhZSW0KC khv8YP2S1gLUff666R+h2xBYDBqJ0yi0u2VsrJMzHdEn3Us5Bfwm/T8zthZ0NHxXvZJp iwdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=dblZ2cMrQMLC69vQiQ7PjI15tp+Aw6tS1AsWq28yjKE=; b=E40DbSx91vl9DQ6CN/fL+VsLdJ3xZfnNrDid66jDqPmH75sOOU//fq6mmyGef1FFvW Cuz4mxTdqGgNWH+0jmRuOgnKDuCu029iONrfaZEtsUjsnSU5e1iJu2qFjcO/zOCRPx1X cVBp+fq4XeYOPmJBLo+m7Ybr8fgnstvJtf0ehp89Z/By2OBXnf4NmatYGIzexS9cNJZy j6AoWxPPocfhYI9u+HV2I0A4MGvbnCJbCG+ilxqj5V2SYl7bmwlB9mznwH6Q3/gaCYc6 rzrVgUMzCfV4zzeZK1yp0h4LHpUfmV5HhQBj5rsrLvKy9qFoC3GhChjudykh/SG0RzSG pYsQ== X-Gm-Message-State: AOAM530Q2cIrbkKRNuwSPCRPKFl5SL3r9Gt5sEpjXHXLqQMBz5fX7Neu Yf+5hWDdQBZVPKAZgwgwsbk= X-Google-Smtp-Source: ABdhPJwaFQ8BXAkJNPUM74PRENPBWmQSvgr5KlhqbctAGJ1lOmTFgL2AY/oZPSRVFnuTXrImQzzyeg== X-Received: by 2002:a17:906:87c3:: with SMTP id zb3mr4373739ejb.244.1612536245246; Fri, 05 Feb 2021 06:44:05 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-arm@nongnu.org, Peter Maydell , Thomas Huth , Andrew Jones , qemu-block@nongnu.org, Laurent Vivier , John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 3/9] tests/qtest/boot-serial-test: Test Virt machine with 'max' Date: Fri, 5 Feb 2021 15:43:39 +0100 Message-Id: <20210205144345.2068758-4-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210205144345.2068758-1-f4bug@amsat.org> References: <20210205144345.2068758-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) When using KVM, using a specific cpu type will only work if the host CPU really is that exact CPU type. During testing we can simply use the 'max' CPU which will select all the features available from the host. This allow running this test on a Cavium CN8890 (ThunderX cores). Suggested-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Andrew Jones --- tests/qtest/boot-serial-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c index b6b1c23cd01..d74509b1c57 100644 --- a/tests/qtest/boot-serial-test.c +++ b/tests/qtest/boot-serial-test.c @@ -149,7 +149,7 @@ static testdef_t tests[] =3D { { "arm", "raspi2", "", "TT", sizeof(bios_raspi2), 0, bios_raspi2 }, /* For hppa, force bios to output to serial by disabling graphics. */ { "hppa", "hppa", "-vga none", "SeaBIOS wants SYSTEM HALT" }, - { "aarch64", "virt", "-cpu cortex-a57", "TT", sizeof(kernel_aarch64), + { "aarch64", "virt", "-cpu max", "TT", sizeof(kernel_aarch64), kernel_aarch64 }, { "arm", "microbit", "", "T", sizeof(kernel_nrf51), kernel_nrf51 }, =20 --=20 2.26.2