From patchwork Fri Apr 4 01:09:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 878192 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3552520wrs; Thu, 3 Apr 2025 18:10:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUTxPx2vs743Lj4dCdDsNWd9Yn9z2jaaSwl1hQBnSWT2yN5nfKoYodLgrnz/8mPZRStDyNK2A==@linaro.org X-Google-Smtp-Source: AGHT+IGCmyiK8s0JvwDnHUFT6RFV/EgWbCxnhEhpVhwB0pJrt390s9xua1sD3XzOHOosWREKsy8C X-Received: by 2002:a05:620a:1991:b0:7c7:747f:89d0 with SMTP id af79cd13be357-7c774d250e7mr226769185a.18.1743729048613; Thu, 03 Apr 2025 18:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743729048; cv=none; d=google.com; s=arc-20240605; b=feeN8VmIf3AujKVZyoE6xGLoM8Qhi8SZvzHaIlyMOPCZRyQajiySYfZmxAw/EfrCzh PSaNyPbGOacTLtK7V4dpdvDvR2+k8t1GrOw4sQi2yMtxPsyQyAiW4rwdkIEUFIGQlEhq MDy6/0DNla3a+q/hRD/pqHE6esHX3cSgma8bCIwNpnUGNjcXhnfBUNC1vKDaqwM8dddo 0uhnAjks7hjmX34tRcRflbsRzohAKaOPRg8fNAIkODCxUbWEa5z5NzTDc+dF4vW9eOfm VTyQdGoPvheESWFevBGLzyFBIhJhDdXd27udnhQt7qGgzIlGQR3Lvy9iG83Jz/4H0Oh/ Z5VA== 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=6ztloA/BrSXUCyjpky2M3ioZBF5Jl+KSjfz3+89E/Lo=; fh=wEtq+8Vyz1EsJG1VqGcD+wy8Y6jWeN/etbUYQVOp3pE=; b=eBm6cIeIV21I17vxcqNWYdosnQg0OiciL8kFIfjDyB14BVFjIdPH9SgAB/byhW/v+2 PrWwntnK8Q+S+CaWnnetWmSklNOm3eLWtPssXzKrDHR7DgF0saMztlX3eUbivdMV70Z8 +FsfHcwjqIdZy9L+hBsl94ux15/atuV6L2UbXHCsTPTCogASh6KcQrTWkhM5QnqRbzvj Fp9ul9BYHeG6CdNe340uWx/ldJEWjbUXbr3hKoph6vGWL5J2nnvTuSSo8a+cm68lWjTG +TOaEUF0yqth2PqlIfHsi/Z3YDxPDVrzQb0WK+i4PRiiisgnGH+NwDODEQvuqgagtFRt C9sg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ennFpXog; 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-7c76eabced6si223145285a.517.2025.04.03.18.10.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 18:10:48 -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=ennFpXog; 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 1u0VZ3-0008Kp-8F; Thu, 03 Apr 2025 21:09:45 -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 1u0VYy-0008Io-LG for qemu-devel@nongnu.org; Thu, 03 Apr 2025 21:09:40 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0VYw-000822-VJ for qemu-devel@nongnu.org; Thu, 03 Apr 2025 21:09:40 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-736ad42dfd6so1219898b3a.3 for ; Thu, 03 Apr 2025 18:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743728977; x=1744333777; 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=6ztloA/BrSXUCyjpky2M3ioZBF5Jl+KSjfz3+89E/Lo=; b=ennFpXogfkK2tuBWxEzEuRZIcVeXYGbqwwOf9ACHGM+Qbfi8CrI9MiVGq4pL2rmWsm uhGGAgsk9VrayoAjpBke64xIf9nSPfO2+JuKYusT5A/wrOj3TmNevyPsytSy1z0DygA1 ImawVVRky1pQMm76Roq87cCsTYmIXVLPL0+8tKbdFEYoQC/sMU3oaDtmaq8i4IwSpCjx 82rRE67ut3LbWxAyljPqmpYQBLC6xzsJvufbPYfCDx11oROtmBrBZD0CKZthkCpxi6y4 lnukozgbdCQpJqJntJquUJS0z6TW9yljH4AdUinuAS0PipL+uFJQPD+tEG2VU0Xd5M3w 8bew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743728977; x=1744333777; 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=6ztloA/BrSXUCyjpky2M3ioZBF5Jl+KSjfz3+89E/Lo=; b=iNhAJiTEAJ24jIgp37v29M1+PcaxjAXAGlgCn+tMn6+glmEgRgvOLf5ybi7PNEvrJW ana6nSvLxsoP3oHwIyAbSM1H3ktKHa+ZqEuyoWf6Vpfclp731gs3XNlGTT8UrJOIZT5J lxmk356e+7oUf1EOH5Jn+YepXGEZwE9IsUhRDKVsHGx8rD7pQAVK8koNJ5W08Urttcvs wRTXY6BqqIsosSwDI2sbDUittTAHBfzppQ1kAf3ynuI9v93Q5POgVgpwcb+ZFwJ7w3Kb vD8JEdv3tbv+OxhvWd2gAWAr2Z/Qs5fw28CjPEwePdD9HRMZpUVCyu5x5NBd7sJEJObN wpVA== X-Gm-Message-State: AOJu0YyZQCHq2IcMuuaooX/lxno7y7QNR4bN7VXEuuvOSQcSBuW1XjY4 bftA4Im1iHvT2dDkDlEF62f2NHLcHGqyVw1lltx4godDFD7JFfIWtHrMvI+SI9KRxlAWU6hW4dp w X-Gm-Gg: ASbGnctBPb42h0/5vfrKCxuwB6Q9gq5Gmz+2IuHVJizD4QakV4/ze19BOY/EDzXguS8 gCFP4BwfqN6t2kuzaN2aoklJ1+AK2OIhXbwgCQxw85tPgbaMuifno6kBSBHDLyKuQsgkNg6aDB/ HZ0UE1/g9p48u4fPACcYgi1tnCc0gAr54SNEQz+UP5QOGyRMV++o0bNBg6BQ7P6LP+GHxwmPksE 1xti9SddSX7eOSntWsHvZSLr5Q+rJkMHQjVjGCpf9Xl/CA5yXVJ1J7i+VQUVP9Xr1TBj2QM+97L D+MU5rDgjBZK61a+rYSEusOa2rlqPYwba0yXzskDmvaUa551Y58= X-Received: by 2002:a05:6a00:3c83:b0:736:d6da:8f9e with SMTP id d2e1a72fcca58-739e46280bcmr1987163b3a.0.1743728977116; Thu, 03 Apr 2025 18:09:37 -0700 (PDT) Received: from stoup.. ([75.147.178.105]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-739d97ee2d9sm2171755b3a.39.2025.04.03.18.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 18:09:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Fabiano Rosas , "Michael S . Tsirkin" , Thomas Huth Subject: [PULL 5/6] tests/qtest: Skip Aarch64 VMapple machine Date: Thu, 3 Apr 2025 18:09:29 -0700 Message-ID: <20250404010930.164329-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250404010930.164329-1-richard.henderson@linaro.org> References: <20250404010930.164329-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.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 From: Philippe Mathieu-Daudé 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 Signed-off-by: Richard Henderson Message-ID: <20250403203241.46692-5-philmd@linaro.org> --- tests/qtest/libqtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/libqtest.c b/tests/qtest/libqtest.c index 2750067861..fad307d125 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; }