From nobody Thu Apr 3 10:05:03 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1741127097; cv=none; d=zohomail.com; s=zohoarc; b=EckDfQHtmT36CbCCGi4gtsF3nqaN+khlCAiJHLRtbOyQVSAEaFPWgDybX8S8OWtmgaGk1uD9Hn7yGe4vtDIGnIRKH/d+QeXAuHWI13bOZ4Mi1S2SuIAXN7XW5gBtvfsugYiphCv4vFsQm/95/7a0TDzrEYPgaKhF4Scd31KGoLU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1741127097; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=tFMmkDHtawhhARFWMO1eCV3OspPEPY+ObvqNfaMPI4k=; b=eDOYekyeZ3BEJ28eVb+Y1qKcEMkyF12rCYZD+T086bp0OF9WVOUrcV+qrw3m3BPZyeF4XuUTpSGRl/qJ4mN8eOnceusHGiS1efcvj00AUbrBbI4P1qI2+IU4gEyNv2HRNYssuFJTK8tWQlSWTYTFEBpVX64s7EdHp/5r4tksBjo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1741127097944763.45796997584; Tue, 4 Mar 2025 14:24:57 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tpah1-0005OA-67; Tue, 04 Mar 2025 17:24:51 -0500 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 1tpagw-0005KK-1Z for qemu-devel@nongnu.org; Tue, 04 Mar 2025 17:24:46 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tpags-0006TF-WB for qemu-devel@nongnu.org; Tue, 04 Mar 2025 17:24:45 -0500 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-aaecf50578eso1174747666b.2 for ; Tue, 04 Mar 2025 14:24:42 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abf0c6ee491sm1030467166b.103.2025.03.04.14.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Mar 2025 14:24:40 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A81135FC87; Tue, 4 Mar 2025 22:24:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741127081; x=1741731881; 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=tFMmkDHtawhhARFWMO1eCV3OspPEPY+ObvqNfaMPI4k=; b=OfGHA9n1OrEIH4V9Kiacxoi4zMw/ezQHnjohVjjciBX1fNUFCo/PPNKUipEXEzNrRi pblQZbtWae//VYVrP9KhBJReLtumY6uz/EYgBAmXfHVtiq+XxrxmRKasvxeTY2BmxdoG sF0zDlakzBm2j5M6p8r991JlSPaYPTRJ26/WLZesofSnqkNH45+sF/RfNleWNoHdYO5I 6Jd4ShWevJowex04NhpTEV4v2zcWmUuwAuqCn1DERvpkjDbCVxL4xLS2esj/IE6T8DMu ypdyeE1x+p5igQSbXwzjwPzvfLGAKtuOefIqIyTpnCz+hg1GCnmBbz2ab3EmjOTl7pLu OZiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741127081; x=1741731881; 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=tFMmkDHtawhhARFWMO1eCV3OspPEPY+ObvqNfaMPI4k=; b=sOj3afzXl8ByB7x3TPmQY5bHDoozKrfAzoSbyE41i5vIm1PvJ8fkv+DZeUVmn8CzZs 9+Huh8m+T+fdE3QjTooAFKkvOVxypOPyaiweDlZS0Pwiegz1psFVSs68ymHqvkzdUThi ECMVttGWF9/izjiPIDoQJcAoh//wczt48U2ft0p+s6AOEWeseRXcZIBgoQxpbn1/zjD/ HQl2hjxNqz/YxcnijxK2WOZBxmh/hvZfq3e7g1EOCDwcFX1xFEbukJcvVNOqz22EuiGP B0YqtaGerMgyCs/PhJZgmoT9j6wlT+SYfZhd3+avIiM+sOg0QyrWQrfIioivO5usW3vp E2jg== X-Gm-Message-State: AOJu0Yw54022NRFvPZYP1QbTImfQNQ5EZ40Y2SRKDO3x9E0PAzV6FkE6 53sJ1Xq2z6i9TELSDiVhyFdE4GRVmmPmHTGF1UNvpTAJuHRChRMJni+EQTptNRs= X-Gm-Gg: ASbGncuO6sFkOau3f02a+c/msvLKzJS+ZuONjWxMbXwMXEeX+KxY5q4EvdJSY4qf2Z3 RtFWC+fgfBLP3ajosDk5gQnoU+AUaK9zWFFaukpU/p1/9SvT0jetzXW4ML1T55/oSdSBiuO1ei0 8EaXKYPEYzYrBqxTXlsX6lPBHpO3UUz48fa8FfgIWCohTA+lQU9JPO1/BZ2McZUyIFQCBfy022x iSvsdr33/tmZl9oLVrP1ckDpujhD6dHdU0sIYgDHBVxgkgFnH8jyql8jm1YUoSFF+mknszvBMTN bpT0O/XZ1YIG9ztbsXF25a85xa695GMzU4opfSwVUd9ZvyE= X-Google-Smtp-Source: AGHT+IHwZh7TkwJV7DRmtlPpEfA6KtNehl4c9aTzdgy/AZnbCsxDqWsb812dwrJ/3vfEtTn9mBwBCA== X-Received: by 2002:a17:907:8688:b0:ab7:9df1:e562 with SMTP id a640c23a62f3a-ac20e42961bmr86717266b.48.1741127081286; Tue, 04 Mar 2025 14:24:41 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , Li-Wen Hsu , Peter Maydell , Laurent Vivier , qemu-arm@nongnu.org, Alexandre Iooss , Paolo Bonzini , Richard Henderson , Riku Voipio , Warner Losh , Brian Cain , Mahmoud Mandour , Kyle Evans , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Ed Maste , Pierrick Bouvier , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth Subject: [PATCH v2 03/32] tests/functional: ensure we have a GPU device for tests Date: Tue, 4 Mar 2025 22:24:10 +0000 Message-Id: <20250304222439.2035603-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250304222439.2035603-1-alex.bennee@linaro.org> References: <20250304222439.2035603-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62c.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1741127100794019100 It's possible to build QEMU without support for the GL enabled GPU devices and we can catch that earlier with an explicit check. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Message-Id: <20250226140343.3907080-4-alex.bennee@linaro.org> --- tests/functional/test_aarch64_virt_gpu.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional/test_aarch64_virt_gpu.py b/tests/functional/t= est_aarch64_virt_gpu.py index bd325577c0..4420a6175f 100755 --- a/tests/functional/test_aarch64_virt_gpu.py +++ b/tests/functional/test_aarch64_virt_gpu.py @@ -91,6 +91,9 @@ def _run_virt_weston_test(self, cmd): =20 @skipIfMissingCommands('zstd') def test_aarch64_virt_with_vulkan_gpu(self): + + self.require_device('virtio-gpu-gl-pci') + self._launch_virt_gpu("virtio-gpu-gl-pci,hostmem=3D4G,blob=3Don,ve= nus=3Don") self._run_virt_weston_test("vkmark -b:duration=3D1.0") =20 --=20 2.39.5