From patchwork Mon Jun 23 12:18:42 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: 899220 Delivered-To: patch@linaro.org Received: by 2002:a05:6504:191c:b0:290:25b2:841c with SMTP id v28csp3840210ltt; Mon, 23 Jun 2025 05:24:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX3JhkxrSAwvOSD84O7clRV96gXR/KHHyvRc65HAsjmu8Ija/DwHjY/sfMBemj29VSb6Zz+XA==@linaro.org X-Google-Smtp-Source: AGHT+IFYftcj2/Q/q795UYINm40Y9HymKguoW7onbVgglyNP/sMUFc3tE3SwgiVXqvsx0AkGuzbF X-Received: by 2002:a05:620a:2951:b0:7ca:efbd:f4f4 with SMTP id af79cd13be357-7d3f994d55bmr1909020885a.56.1750681452633; Mon, 23 Jun 2025 05:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1750681452; cv=none; d=google.com; s=arc-20240605; b=G71T9YQMkB4N/o8QJhJgIrl96CpqCDhq8sNLWP+Pt0US7Bg3xJCVTiZ+eQuATAaUrA O4v5VoehPOgGzkdzJ5DC5SgGG9ZUr5o4/nra4releEk3irrA9jKGmQjWn4RgVegMwf7T VN+sa5djrHH8pYIU/SjcOGflpfx0ToNbciZ0RR769WLv/ERphWTW2cl+hx76T1anIA+H HKlicPFMFmF3ctPlnkLItFEaDCM7DIdHPiwArVuzV7OkgHyDdkTzxLG5SufiF+V+sQsG qIv5wlRA08yIoZ5HGTY2QFA26g6rEBlSDpGDrytNoCjNIRq7nhu713V1jX3WUnM9tYYz JERQ== 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=Y66de3esKoxe7Lq7nXgyyvCOXzL/4wNdUP/QM7Hg6f4=; fh=x5VJDl6FrykOwQuDK8d67WYnSid/uzpvpvankGNJv0o=; b=Qj4JXJZvg4I7Gvbpq/Dba2t5gwBBaQH0G1fKWk6ELmwaqFXHLo597Ch3Gu1M6/rVJp DvmzgIr9YFTOliuAkBQkut9xnKjR1G5LqyL07hqvjX2+6lWjq81RWaaS+m/26CCimUcq VPy2TmzvZIjRf1KyAPkEKH/OU0e/To5VheqajdsiNuJnLcvVWke4KPxvAGxCXCfZ73SB LW3d8ciCtB1zXNgb1ZyBFqGPwOkC0iA5wb8on1frIvEz8l7PYBnYRXORzk2IGHF5ghRR YTYhA1qk4udVVVWl6rT+0AzVCDxw0LdmBuhQ5Q5Vl3bo6gn0TW3VFgFWxV1I0ZN0h7tB Golw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ldciURYT; 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-7d3f999e62asi780624685a.92.2025.06.23.05.24.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jun 2025 05:24:12 -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=ldciURYT; 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 1uTgAc-0003Yq-Ul; Mon, 23 Jun 2025 08:21:08 -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 1uTgAL-0003IR-Kw for qemu-devel@nongnu.org; Mon, 23 Jun 2025 08:20:53 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uTgAJ-00015Z-Nx for qemu-devel@nongnu.org; Mon, 23 Jun 2025 08:20:49 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-450cf0120cdso32242415e9.2 for ; Mon, 23 Jun 2025 05:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1750681245; x=1751286045; 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=Y66de3esKoxe7Lq7nXgyyvCOXzL/4wNdUP/QM7Hg6f4=; b=ldciURYTOm5WO7LytwRDyyl11r0PXpTRuS04+9YnvZqUA53SZ9chP4UOUb/Kcppzft 7g/2U8IvEhiBCOBRzi4pgYuZbr39L8rhdFD1jJDU3aQR1IOSqmlRXZyNN4RiXvihNx4Y /Ijflf4l6aAmL3ULXn8ujwsD5GXF/d7shnAEBqc9Jcd9eHNmil0/TrjnAJTYxRSCt4+R mYE0twcg+5ze+Gpxv+Retw+hEGlgl6AS5hIPkFMxLgBjyRvq+bCw0Jkyd9bMkMX500Gm ZrDK8+J3z9x9I2kHqNuesT6zGMOKpda1rdZRtXGxXxANTPEjr8ODdmRh5BNpctH6+26f bjjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750681245; x=1751286045; 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=Y66de3esKoxe7Lq7nXgyyvCOXzL/4wNdUP/QM7Hg6f4=; b=RlUNsBkf8EGk3OsfADd4quA/crqBFmAJk+a3tVQqDUkURHkd/dH9XcF9c2o1Uo4FRi /bTa37ve92HFRmVTTFd29E80h5arOteHXHhttYySz82t+p5rS1DnKt9vgRm46dV0Ip5m oSyDI/ZXD9CtOzeSZBP/ffe/ORIMWPDOkh38a3nYevWPQ2E+7IFpCsfn/A24KT2+EZCY dV2iMCpsdReW5ysZe0Cj97Pvd7ueysLdz1F5mtfuCgX5OV033uU+YoWSVQQ3+foMJ7sx IJB0+nY+rDsoK8XBUI1Nkk0OsiHHCtukvvXvQDOzS803e8VsvyGeKB6ePgYlRQwdEQOL MO6Q== X-Gm-Message-State: AOJu0Yym9pSHj4PQB/P0+uoKqfW2tFD8N27Ked8qffi/AFjvzjZtWdza Z66e6N3BGlsQihS6wmY5xXcWvWmmUmCDcTdY97JYcMxUxzAWPcHxnUqvAe5u3MCHvAw+HDjMgjG VasjR X-Gm-Gg: ASbGnctTEdCfwZ5ScFqo6rqyhhcgI9zlhqNUrMHKHZEDU8W6BKNk3jU29MLCYtezUgw hJNg0pPWhwl+BWXCgtladwbX72pE0qAmfGjB0s4vhDoT+3cblxZoKCVhNEN678YpamDQHoNqiC3 /5Zh5EYmhx9C3GIlTOl2HVHLdl4ZN12jwGjstWCdhkP6fYpBuUrk31oCgWhhm4L7sZ17hgOjCTf lJLrWCljHLQkvew1yutPyd+Pe+EMOKWNeTyktQJAnLKjJgpTNL9XaeQW9UowddpYS2aJuo//4Hv jkZ+K5XpW5ytG5OWrJK+WTWAZcLmLu8v1BAiBBjvabD3qkspr6LByZc/Qf8+E38vIVYLMv6c8oT 2dSSiKIixgwsSPgpYWMhY2eNOgNa2AXBQ7Key X-Received: by 2002:a05:600c:c1c8:20b0:450:d3b9:4ba2 with SMTP id 5b1f17b1804b1-453659d4330mr62504005e9.24.1750681245056; Mon, 23 Jun 2025 05:20:45 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a6d117c0fcsm9565403f8f.62.2025.06.23.05.20.43 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 23 Jun 2025 05:20:44 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Leif Lindholm , qemu-arm@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Roman Bolshakov , Paolo Bonzini , Alexander Graf , Bernhard Beschow , John Snow , Thomas Huth , =?utf-8?q?Mar?= =?utf-8?q?c-Andr=C3=A9_Lureau?= , kvm@vger.kernel.org, Eric Auger , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Cameron Esfahani , Cleber Rosa , Radoslaw Biernacki , Phil Dennis-Jordan , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= Subject: [PATCH v3 23/26] tests/functional: Restrict nested Aarch64 Xen test to TCG Date: Mon, 23 Jun 2025 14:18:42 +0200 Message-ID: <20250623121845.7214-24-philmd@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250623121845.7214-1-philmd@linaro.org> References: <20250623121845.7214-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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 Currently QEMU only support accelerating EL0 and EL1, so features requiring EL2 (like virtualization) or EL3 must be emulated with TCG. On macOS this test fails: qemu-system-aarch64: mach-virt: HVF does not support providing Virtualization extensions to the guest CPU Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- tests/functional/test_aarch64_xen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/test_aarch64_xen.py b/tests/functional/test_aarch64_xen.py index 339904221b0..261d796540d 100755 --- a/tests/functional/test_aarch64_xen.py +++ b/tests/functional/test_aarch64_xen.py @@ -33,6 +33,7 @@ def launch_xen(self, xen_path): """ Launch Xen with a dom0 guest kernel """ + self.require_accelerator("tcg") # virtualization=on self.set_machine('virt') self.cpu = "cortex-a57" self.kernel_path = self.ASSET_KERNEL.fetch()