From patchwork Thu Apr 3 20:32:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 877946 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3466028wrs; Thu, 3 Apr 2025 13:34:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVFLrvqVp3zqL1QcNBL3vJuIPdrZvOcv1pg1/oRu2RB4Xqw4VrIViM+/zj17qp/VKE+YCyvbw==@linaro.org X-Google-Smtp-Source: AGHT+IE1vuyJ4kusXp64253h4hvu+aVAHFO5a02dto08GVHRc/XMxPswklyUVZdCg5rK7QOEd2nt X-Received: by 2002:a05:620a:192a:b0:7c5:6a04:d0a8 with SMTP id af79cd13be357-7c774d27393mr98688985a.5.1743712474193; Thu, 03 Apr 2025 13:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743712474; cv=none; d=google.com; s=arc-20240605; b=fS4IjtoeRCh4gfrARWV/6fUP+Ast0GPiPYaoOvd+N1X9dX0A3LLZ+p06dszSayS03D vV0fW2qfs7XwMhwZ10UkXR5NY4EEvnpY5wesb6pkRrRzi5ByaTKk795e9ZhCotWv3r+8 nHhqsclVXmECMpWdYEk89b/X46dQhevzPCSHA0G//ZoT6TP91lJV3EkYb1NRS5N1K44O M2Y0bQv19HCphBJg4dnzVjGDHn11zovT2pMSpeCQCyqess3pL7lxtr7ZKiVOfEDkpV73 a/tfuI5B6tbkAHwCPHTnyXn5eXZkQDBKSAByG2rpC/eOSKW/uuDEJTf5jnKyIxXMVAqI DAOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Lv7WRDAe+YGQs2mxscSeBnIuH1FPhg0M1NDpEDTQH9Q=; fh=Mg3Q/MQi4drPeKmQITgpMs6kx0xorjEcFN5p6eOb664=; b=HttXvVVB5hDRR7geRKfLaa0vFkhA8ufQ81zd9XSUho6gux9huHTa7EFknsr7aj+vlq 8zCEfWNrWrlxCN2E6Ww/Qn8BfgmhdpkoHd53xWtFYy+4tmxDYNEnzWLV8Md/odsbLdCN eAK3KNTmBiIqmADjAtZGbfQ+LSB686K3GXgQD2EdZ1UCpjWj8uGvqYz9SOg0NzGvaKU4 JfbhI2kgF8atDdHOK9yQBukpbNrQBmb3p3ndgzaY2RyEaoVGpbSSMGfCtSr0sI62AxA8 CFYRb8RaFNoDwqgo6wzklm8P1SfpTXVnadT6gM84vVD/IaXUhwGP4H+AtIcZ6vWWULzw cWmw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kG1+Z9th; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c76e95de3esi182326785a.149.2025.04.03.13.34.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 13:34:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kG1+Z9th; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0RFQ-00040y-9I; Thu, 03 Apr 2025 16:33:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RFM-00040V-6U for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:33:09 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0RFJ-00044K-3f for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:33:06 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-43cf58eea0fso6984905e9.0 for ; Thu, 03 Apr 2025 13:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743712383; x=1744317183; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Lv7WRDAe+YGQs2mxscSeBnIuH1FPhg0M1NDpEDTQH9Q=; b=kG1+Z9thqJaXNdVDgkeNHywmAxsEN+Ssocu5xDV8l/V8ufcm3fsDPDpE2karm1hRsp cI2D0OO/g1QDnFsS/9habPvxRplPqxJgV77VK7Vb/NucSkjn+K3goLbG4sfYXkNG01SY 18w8LVhBVI06W5OILZ6MaocaOsCy/C9V5rmaD6Zp0pcIWjEHHUayjIIwD/Nw26ZE8snY 9WwOgBEDgUZa6Xyo4wnPGWtp4hxx9v1W/HvRacrfYjc8l0zdCmASkXwc48ZnoA6DA802 z3q5cwz95qYa7+UU+DGbO4emPvOVaUHULeCboUzVZ12lNUXEKG6nenUoUZi31CpgKVyx PxFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743712383; x=1744317183; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lv7WRDAe+YGQs2mxscSeBnIuH1FPhg0M1NDpEDTQH9Q=; b=SXfUJFF9cqRn2AK+eWVCrGmROXQEWEcDQXxEgusClfFnSfj8XeaXbxKpIdPT7yFbxP ooUCzejnsOGfJKeA9ctbBhwbo+FrSnFCgXj8OF/vuKFB8gKnw3EnZ2Xz2fnFfr/lTGk/ 8DoxOML2d4cPrC/Ds1WR39VMClIp/JwPD3412SnCQ28HkJHZKbdRECdLk1zOWaSOhZwe tsaH6T9DlCVMiFw67Mhgnxt/jXprJCRKqYneqZ9LQoopytrfovWxIHgeniNM8wTZl4SS hIa2CGKcAH0ExyHKp+NdYNnKGj5KFpDwEWefUNz/rz1nuJGKneu6/r1ITluMOaq4kvxK LYUg== X-Gm-Message-State: AOJu0Yw9wXy3bTaJN1kRRfPZivPMdl+57PmNlG2Wp9IRW36cJZxYdBLe 8dm7elBgb+zzgB/PfwvEuUfkEHz+R+02v2rzX6AnhWRjZOmc0xTPSs2F2qeV7GmopWUEMzrAsGZ Y X-Gm-Gg: ASbGncubFWwuHf4Bc/dRrKGkPsfhOgedVRhUjgRctMtgCMZVcsbPmatqQRqO4/mXmBL rLAQwOqbVd/74LecJ5bU+0RwdoEdEd/cUz+CO4jkHoGEXVR990N60tAiYZRdQ9tUfuqqjphRJ6z 6P7kOSpxVD957VGoi5HeVDxTSZByzZWnIQun+oXVrx15DpABhSFD1kJ7XohBbGX4KPGwu7yTLiT gsUwQtN8OPV+xbWCYV41NZ6ogkjdKbSrUbF5mXnyrJrKYkuG9NEKnM5y9X+4ZpnzMy1LMReJWC6 e4SHhLZ1HwqGWJ2s0CQs1Mlc+Qj1j09wig2LH7xLdt6qeHn9mQwTIgOvR4sb4r3l0az/ixItkcR Y9ZjkY2ANfAZZ9Vg9fPWbh/Lw X-Received: by 2002:a05:600c:511f:b0:43c:e8ba:e166 with SMTP id 5b1f17b1804b1-43ecf9c3d51mr2840225e9.22.1743712383043; Thu, 03 Apr 2025 13:33:03 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec1660bcesm30716045e9.10.2025.04.03.13.33.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 13:33:02 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Laurent Vivier , Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= , Alexander Graf , Phil Dennis-Jordan , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Fabiano Rosas , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , "Michael S. Tsirkin" , Richard Henderson Subject: [PATCH-for-10.0 v3 4/5] tests/qtest: Skip Aarch64 VMapple machine Date: Thu, 3 Apr 2025 22:32:40 +0200 Message-ID: <20250403203241.46692-5-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403203241.46692-1-philmd@linaro.org> References: <20250403203241.46692-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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 First, the VMapple machine only works with the ARM 'host' CPU type, which isn't accepted for QTest: $ qemu-system-aarch64 -M vmapple -accel qtest qemu-system-aarch64: The 'host' CPU type can only be used with KVM or HVF Second, the QTest framework expects machines to be createable without specifying optional arguments, however the VMapple machine requires few of them: $ qemu-system-aarch64 -M vmapple -accel qtest qemu-system-aarch64: No firmware specified $ qemu-system-aarch64 -M vmapple -accel qtest -bios /dev/null qemu-system-aarch64: No AUX device. Please specify one as pflash drive. Restrict this machine with QTest so we can at least run check-qtest, otherwise we get: $ make check-qtest-aarch64 qemu-system-aarch64: The 'host' CPU type can only be used with KVM or HVF Broken pipe ../tests/qtest/libqtest.c:199: kill_qemu() tried to terminate QEMU process but encountered exit status 1 (expected 0) ... 7/26 qemu:qtest+qtest-aarch64 / qtest-aarch64/test-hmp ERROR 24.71s killed by signal 6 SIGABRT 2/26 qemu:qtest+qtest-aarch64 / qtest-aarch64/qom-test ERROR 71.23s killed by signal 6 SIGABRT Suggested-by: Fabiano Rosas Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth --- tests/qtest/libqtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/libqtest.c b/tests/qtest/libqtest.c index 2750067861e..fad307d125a 100644 --- a/tests/qtest/libqtest.c +++ b/tests/qtest/libqtest.c @@ -1788,6 +1788,7 @@ void qtest_cb_for_every_machine(void (*cb)(const char *machine), if (!strncmp("xenfv", machines[i].name, 5) || g_str_equal("xenpv", machines[i].name) || g_str_equal("xenpvh", machines[i].name) || + g_str_equal("vmapple", machines[i].name) || g_str_equal("nitro-enclave", machines[i].name)) { continue; }