From patchwork Thu Apr 3 15:18:19 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: 877930 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3321752wrs; Thu, 3 Apr 2025 08:22:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXaE75aNRGlrzRiVt0B9TQusfEFQjHw+5YZerwsSccI8Y8OLdJi2B+7eb644KsullT8SSx1Kw==@linaro.org X-Google-Smtp-Source: AGHT+IG1jEqd8Snq85Lvw1BbdUBjUhxqYAMNFnhOTltFwDxP6kHN10IrGBlp3sxzetxtnerZmISp X-Received: by 2002:a05:620a:4001:b0:7c3:cccd:92ec with SMTP id af79cd13be357-7c76c90259emr596320185a.0.1743693756386; Thu, 03 Apr 2025 08:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743693756; cv=none; d=google.com; s=arc-20240605; b=Cw0MshS79DdnDgydsN8WtXkDNhLD96qK0lfygv2GsP5TaZbZwsHo8k6xIMkJZV3Qpc fIKK0YDhcbyn+i7MjGVtaUECXA1UXq3VGo+iEDyUQfqwkxYJLnHBYwbRz2cWzXr/9sY4 N+qsb5bhW7E3Jfk75nPoBF5HE1/VCbCT3UGvKgB0ScVb78Ai3BxtsUNQ5Vlbqee4iPkg M9CRHXiMOjH+tWLioaAVFR/PU5gpwJpv5DEDVwHnrt3HKj9KHGms2eonWvyF51W01oqB p+/sdmu1y3lQDgI+Ocqu2ERdEo5KBbifjXu8pNDHg7DnevDKfJD9yA2ictdR+ZmP+RlZ lxDA== 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=OqdN6r/Pg42mUAWw+XorRCy8KmUUThhdk/vE08EOf5w=; fh=uZabDrQmZm0L+6w9TkaKSHx4mVelHvsyKGr5umV4YlI=; b=aGQNMJvRA+ssaFYg6Jd/jd4CYnySdk2Tj/197dWzbbzgaqfbUSFamLooLgSmjEGaGL fontbc+oZyly8PEvkqu1B5xOT7Z9R/uNX6hWbFOIsDOk6MU1FiRjaay4NyuTD0aTUr5/ kagmbPhhvWlZct+f9qWXDmhvpWc0XC8ar7Tc3jEHy031rz1auTcpOLFbMowCON3VjdJP KJGEAVhaUgaeaqTHVUDQos+U96loK8hGfFV+Kt96Shyu5VmZ1r7JBqugp0ckEXJ5yUsh PUeXA4ZBod5Dm5mZWa9p93LZZc7mm0qY2TxUxD9Z1QtU0agb7k+MsgEXmD8Qu+ePWdE2 tW9w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A8uWizwi; 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 ada2fe7eead31-4c84903e3acsi515934137.515.2025.04.03.08.22.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 08:22:36 -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=A8uWizwi; 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 1u0MLZ-0007jS-Va; Thu, 03 Apr 2025 11:19:16 -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 1u0MLP-0007gl-TL for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:19:04 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0MLN-0000Ss-9q for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:19:03 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso6723105e9.3 for ; Thu, 03 Apr 2025 08:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743693539; x=1744298339; 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=OqdN6r/Pg42mUAWw+XorRCy8KmUUThhdk/vE08EOf5w=; b=A8uWizwiJVCdVonsOQKHBWxaXAzKczE2lYSC2HmWKKWM7hT0i0fEU5VH+x+dNAG/MX 6roEnrQN7pwo/fCNUF3f/+YadzeRLlMmQec8doDAvwPEYZNBk0/ufDfRp2uprUk4biyT HceU0SPBNwY4YYR6ex4cXKIOk2rSpUF6aUdrSIViXp4rnqClEt04krZxmqD7HB2WsP2H VUzpMvqY6mHYBmfK9NlgBcAJED0LCgWaT2yrhF6E7P66U81DQ/tIbMi1Hqp8qgGB5GaI CJ4Nla5aYVZ8VhZl1UFLl1xgGs0Pr9LgaN0taHtBg8knNYKhPAHD3cHgHRk5Cq6oLfEx deRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743693539; x=1744298339; 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=OqdN6r/Pg42mUAWw+XorRCy8KmUUThhdk/vE08EOf5w=; b=NCKP35P8GJuqdVyBVzd0wIrlhmc17bLfCOyeOnoA4QY4F7Jj5CCaNUh1CHxHQa1xqM Sxztv3Z0zfbMnrfjJwerwvmEQ5blTlAgwm3xdJtaAhuwyBBymIslqb/4GzDCW58Le1Ds urty0NbHmLuknsKxqxd4E8NQFPNxuUg7QzrLaQAXQ3IUJK3oX5Fs91r0IBO4alEZnIRm vtS0DFh1+39mrR4HhIIGrO/hedmGJoaWPmbD/U1z1ly2gXaengw1i8wdZo1dJFFCAHwH NgBju4CyZbzRSklGTiJgnUu7vXlRz2EyIEuBShphgvIWtg6Q3Ca+rxtIYe6flK52rowv I+NA== X-Gm-Message-State: AOJu0YyYnT7/UIE+L1dciHRbyIieKVwzOSJzpM7U2lnfjhEKm6jw9GH8 k0yeMcuIYzLwa40H9zVfl22h2wvJWmGYVfsw71TQ935Qf/xaB0P9Rx28f5eKS5SuLrepYNs8+gs d X-Gm-Gg: ASbGncvwpjNEF61CruQslFNw0I/wxfN1ZmYN1f0EIFYsnkPF0gcsbuc3qz0EZZZzCeZ KoFXZ1oYZbi4LZknYMfHXhFO5el/qkYLsNOSL1c+XfU9E7c5mVUvgYQRKDSXBseuthiDBvaQL3R Mb1AzWsPxtVQ0LcQHin4QwP2vJWy/IgF5ZxBwggMGWoJLrTRVMniBAOXaMTsvq65GepmnTSbGbT 5tX6b7tCD6TYCCLMqGEX3v4FpppxBNkSC3UdPWpjZl66xf68NfG0jjSmrkT36GpGeiAdiDF6AoF yFKtrRWHYgf3MuqYMzQ6JkZRjGujYTmbK2l3TdEejGUjMzhmg8tRpNIlpq1v3fNfnJhpJ2GQtL1 1EhV+9Je7ikih0KW6+FU= X-Received: by 2002:a05:600c:4688:b0:43b:d0fe:b8ac with SMTP id 5b1f17b1804b1-43ec150afc2mr36198405e9.30.1743693539308; Thu, 03 Apr 2025 08:18:59 -0700 (PDT) Received: from localhost.localdomain (145.171.88.92.rev.sfr.net. [92.88.171.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec34bbd9csm21247865e9.20.2025.04.03.08.18.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 08:18:58 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gustavo Romero , Peter Maydell , Laurent Vivier , Ani Sinha , Udo Steinberg , "Michael S. Tsirkin" , qemu-arm@nongnu.org, Paolo Bonzini , Igor Mammedov , Andrew Jones , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Fabiano Rosas , =?utf-8?q?Alex_Benn=C3=A9e?= , Shannon Zhao Subject: [PATCH-for-10.0 v2 04/14] tests/qtest: Skip Aarch64 VMapple machine Date: Thu, 3 Apr 2025 17:18:19 +0200 Message-ID: <20250403151829.44858-5-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403151829.44858-1-philmd@linaro.org> References: <20250403151829.44858-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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=unavailable 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é 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; }