From nobody Fri Apr 4 06:00:06 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=1740578720; cv=none; d=zohomail.com; s=zohoarc; b=UALMmyItTPyD+tRtC/io4FOCwO32g8yCT7SfH3DgLdtbXrMYcVPKHNdXTQrsbU8f4tOiIuXpoledC5ASjfvb8VsGY4s2AzROnf+V1JUZGu28qMSu0UPXaClPemgW34La7348/t3X0rcGrPC4Nhed7Temvkd+FA4EUM23PkW5WuA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1740578720; 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=JZQvLPaKDF+dbYM2+HplYNybWE3eRF4fezEpNY1mdZs=; b=QmHOnGGg/vl9FhwURMrhUtuhs/aMEEgVN84vl1CdXvZhS43Dg0Y9HD2kb6zLczbyVbKRIgm6wJHbE1ok+6k0usYtzp1vQZVCkm6CeuNs2kfofFkP2cyn/S1h3YL6bItNbbRpL2fxWlol7FOpUxAF62mHE9P12hG47TRoD2JNrxU= 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 1740578720781717.4406810229763; Wed, 26 Feb 2025 06:05:20 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tnI0x-0000wi-0z; Wed, 26 Feb 2025 09:03:55 -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 1tnI0u-0000ub-I5 for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:52 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tnI0q-0005e3-6J for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:52 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-390d98ae34dso486555f8f.3 for ; Wed, 26 Feb 2025 06:03:47 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd88295dsm5655252f8f.45.2025.02.26.06.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 06:03:44 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 2F0DD600A1; Wed, 26 Feb 2025 14:03:44 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740578626; x=1741183426; 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=JZQvLPaKDF+dbYM2+HplYNybWE3eRF4fezEpNY1mdZs=; b=a8NcifKhEvXPfotSQLAwq96/ouBJH3ZrYxrnKTmd3WrhxdAZexGuGT5LRH+OTCf/vW uMysj2oX/8AF7LG/CnrTN092Gs9O8BYsRuvnMWmfokYu86w/RB8iJrXjtmA4CwHdbSuZ sMDeY3vCqFyXsXtKr7Fm0qS7G9yGl+CtQ1irs/oQbr8uKH98wG4X9eoPx2kFUC6ECQFe jNa6zleVVAUxZXsyM0Jvie6YqL7nnNcdMDLUru4xEWJFPHi/1CGRLZsAccYjRqoVIJmc Z4tLhIjWjNo2fxmNXepqIn7tPNQNkajMYV3tuN8bxgy5uM1EaPizKcZ4/aeMXAESQ5Bh 4dmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740578626; x=1741183426; 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=JZQvLPaKDF+dbYM2+HplYNybWE3eRF4fezEpNY1mdZs=; b=wvXC5KVog5S8fGDx7ksHBk/SknWzz3RChhHydgqSRnk599Ow0OqFneZuagnVv3x7rK GoVyaIccFHnaQLdblbX2+3pZt7kQiFI9RVWZ5wnfqoySM8ISxk/Ew2dlZH6IFnvauyHZ VzKsJfebZVcK66WpDX8rIGPOLsbNftF2FKlzAxM4JM1YH5q3dAjiyAgZBQupqO2KSjOb xg8QzJIqaxpGtAzh5kO4MhDlnNhh9tt0ZGbXXKPYoXW181nOqu8M3R2IX5j+x1Wixwqi iEMqmJwoCAkUN+h9OAT3kkNS87KwsHCorsJ+rOjBlOOfST3RDuK3ZqhNunWb0mLqHNvw ZRgA== X-Gm-Message-State: AOJu0YxeMPnMU5tGzatbTfWMx3bDU+r4pCM4AgzbBN4nO1kUd2E60JYj I4CuP5b+p63HNbfcaAPOf5q3u6gQGGwyG5PXf/DKMICc89aQtctPLIghf+wzBQI= X-Gm-Gg: ASbGncuysvtwTrwB9WDV0+enQJqkYYd7uTvJgbI83YGo2jyfkF7xpEwKj08pUPIueg2 jeRU2Zyjf+cYOy5AIj3CflTQbGKPMLxP2JE6S0grriolGDNSBzpQQFbODr+13qq2WwCtJyGSS5m iOJCd1yhXhNZUGZMSvkqqTEspbX13T03qmo3TRvFNcOcUbMJruQuPM5XK16lxQYmcBL/RMASP9L Eno3Pag9PtfdEwp5DYV1OYFbmgAcvcYKhOjwereL784n4St75AZc6eGAcWR9kpoHQ3DsJdVGp2h RK9OCslIwLArG9YZKlqr4U0ro/L8 X-Google-Smtp-Source: AGHT+IGHwhlbmcmrE4h+SUKRL/ImN7OqEb2rJwVxkeGY6jcKuQKVV1fJVvlJczgkEESuQL8KSu5vTQ== X-Received: by 2002:a5d:6483:0:b0:38f:465d:fdf5 with SMTP id ffacd0b85a97d-390d4f4310emr2644631f8f.26.1740578626364; Wed, 26 Feb 2025 06:03:46 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Peter Maydell , Kyle Evans , Eduardo Habkost , Alexandre Iooss , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , Mahmoud Mandour , Paolo Bonzini , Li-Wen Hsu , Riku Voipio , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Warner Losh , Pierrick Bouvier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Ed Maste , Thomas Huth Subject: [PATCH 03/25] tests/functional: ensure we have a GPU device for tests Date: Wed, 26 Feb 2025 14:03:21 +0000 Message-Id: <20250226140343.3907080-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250226140343.3907080-1-alex.bennee@linaro.org> References: <20250226140343.3907080-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::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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: 1740578722145019000 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 Message-Id: <20250219150009.1662688-4-alex.bennee@linaro.org> Reviewed-by: Thomas Huth --- 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 06093c6b60..c9463d7285 100755 --- a/tests/functional/test_aarch64_virt_gpu.py +++ b/tests/functional/test_aarch64_virt_gpu.py @@ -91,6 +91,9 @@ def _run_virt_gpu_test(self, gpu_device, weston_cmd, wes= ton_pattern): =20 @skipIfMissingCommands('zstd') def test_aarch64_virt_with_vulkan_gpu(self): + + self.require_device('virtio-gpu-gl-pci') + gpu_device =3D "virtio-gpu-gl-pci,hostmem=3D4G,blob=3Don,venus=3Do= n" weston_cmd =3D "vkmark -b:duration=3D1.0" weston_pattern =3D "vkmark Score" --=20 2.39.5