From nobody Mon May 25 20:33:08 2026 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=1778183355; cv=none; d=zohomail.com; s=zohoarc; b=L6+RC6e8jkYybxFKInmCtRM8AwqecdRyu+jWFzef3Qpa6VWqgbHgkOhmtVzULOqcZ25F7bKYYWYituSxhW22105ay6kkECiTZLv+HZf7P45qiTXRGOCNqU07kKKllpB1Xh+/z7wBwW7QXXb2KWS9V+EOqLYn9unBnxluVYSqM9E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183355; h=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=pf+jLrVl4oyiA9pwlLT4ybXiMl4Kj2Xt1plN+KOpDdA=; b=J5WkbVLtgIJGHMe0cYR8UlPNN+Pdts5Xbfu/uVNtPwuYzkiPzFc8KbqYiOIG/DLr6T3kcxic83dyQNVKHAszpPJLJGcbwmtasnEEaatwPDv/N3q66tLbQezR2h49uyHYxDj23pKjXyAAixMhfSFcyxHOBAOW+wqS8SPUWHzMJnE= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1778183355899195.91593149720222; Thu, 7 May 2026 12:49:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iG-00031h-Uf; Thu, 07 May 2026 15:48:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4hY-0002mQ-Vx for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wL4hU-00068I-UV for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:03 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-488a9033b2cso12311925e9.2 for ; Thu, 07 May 2026 12:47:32 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183251; x=1778788051; 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=pf+jLrVl4oyiA9pwlLT4ybXiMl4Kj2Xt1plN+KOpDdA=; b=bwojZlbmWegqOfWvuJq3ipdtEeSvT/QtMquwrzyKopbfMbQT6Ok+1lUR3ZG1hNaQQa JOUrsFBDr9y6ha615lewi2CfFuc8ZtVQL37FhITyAUQkEvD36prWmnQl+5sUQBYBhIg8 91Srl+PwwITawCxAAt/SRpq2GLdcZKq38UnRc38eTFDV7+y4XbfB1s2feny6E7eAkT94 ykGKT3OKnOqKO+1tOJ5atph6dVDmliXDoSMw6oWo3p0VgTT6LrVDPAJ6bNiw+EIhnUIo KpgZsmvzgfWP57ardRd1P990XcGoY6z6Iav6R4PHUvD47LMwl3MIP/igit4TzcOw9ewF CD+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183251; x=1778788051; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=pf+jLrVl4oyiA9pwlLT4ybXiMl4Kj2Xt1plN+KOpDdA=; b=CJGO+uh28gT6J8va3ktPoAqJNuIzNuCG5Mc9qwVkuuObdcJtfVPtKevC+EZ/kSDJAN ex2Mma4BYO6bHrxM7n1gZI3o5My7JRXiD0Vn6b3gpnehuc3f0r70qTwmHh0LSPhFAVau VEkTIgO4218AC5fWDA8YK8mp52/0cH/j7VCf8TnZLwuiZGpOBhzqi9ewQNERe2jfwcpd emLEvA51DG20H48Gs/HNGkvlLZ8gPNarQkAmqOoT2kY+wQ6CIyynQaT9WR63gcLd3C72 DXZ8PW/rL+Bo3GhgvN9Exf0xj9qdXf1NxsyMTJnDcw4vIWBHiISQoHf8zo94tzLpVOuM vDfQ== X-Forwarded-Encrypted: i=1; AFNElJ/czPOlPBp59aEIsECCKpnSq+2IE/iZTNicQvsyU9lV3mmtUTEiARDjprqmHPIRcOe5T6g4JH4x1u0Q@nongnu.org X-Gm-Message-State: AOJu0Yz4vN09X3zrHsSw7LlHoGVfGRLfwqzRHMNMG5pLPOk4LaOEUX8J 0l8jr6wQJ76b1ScQ3sklv/eR1RogzWtqNeiPnX7pNdyDuouPvsI51/klRtdGVW5vhs0= X-Gm-Gg: AeBDietE7acrpJ6Q6pcUcXextILGAtp5/avQ1oRC423NSoTj3oZRn/vLhI3g09PwoVr byNYcQv6ThxUfTYT18OIm7UqwdwiIVHHQM6Br79KH3aD100WmuJ/Ctcubgod0UrCB5S8XSoZNX0 kmjioT150R94CPFVZMg9kWPRoxmufl00VojLwtkaOiLs4RkZS6+ouD8nOOUYtnNwQOj2ODaGxW6 J76eQmu5Z0PeL84s1yztK0z9OOCx+AzN38KPgx9I1d5/u8YR+2Pqly6TOmML2o+7ZICfONP/13r Tejo3PunVx2vz8hgnqp4r1+rebBkMhk8bEo9I2E+1raM1i94JG3KD6vUpe2Yl4yYnA9sbZVul++ jiVGjLLVnQFlBAhEgblb47+PRsxCtGj2ch7xXS6rViBP+DJu3mxlB9GOUejwuD2RGFPsR+0bLi7 GiVCGMLwEKnrtW68A79cuZ2Fo77ym1C5hYuqT9WwC5YoN4fxkDr2HvOrIJnPQjywRHEW3c0Ev96 +KPql6odwge4ONHV6kIcNggXaJ1fPc= X-Received: by 2002:a05:600c:1d18:b0:489:149a:f9e7 with SMTP id 5b1f17b1804b1-48e51f483d8mr145492405e9.27.1778183251314; Thu, 07 May 2026 12:47:31 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 1/6] hw/remote/machine.c: Mark x-remote machine as OK for AArch64 and AArch32 Date: Thu, 7 May 2026 20:47:23 +0100 Message-ID: <20260507194728.2034696-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.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: qemu development 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: 1778183357080158500 Content-Type: text/plain; charset="utf-8" When we updated Arm and AArch64 board types to mark them for the target_machine_typename() filter, we forgot about the "x-remote" machine type, which meant that it disappeared from the set of board types exposed on the qemu-system-arm and qemu-system-aarch64 binaries. We didn't notice this, because although we have a functional test for it, it requires the KVM accelerator and we don't run the functional tests on an AArch64 host in CI. Mark the machine as being OK to expose in qemu-system-arm and qemu-system-aarch64, in the same way we do for the "none" machine type. This fixes a check-functional failure on aarch64 host, where it would otherwise fail with: qemu-system-aarch64: unsupported machine type: "x-remote" Cc: qemu-stable@nongnu.org Fixes: eb796c55513d9d39 ("hw/core: Allow ARM/Aarch64 binaries to use the 'n= one' machine") Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier --- I couldn't figure out which git commit started enforcing the filtering of machine types based on the TARGET_FOO_MACHINE interface markings, so I picked the Fixes: commit hash for when we added them to the "none" machine, on the basis that that's the point at which we logically ought to have also done x-remote. --- hw/remote/machine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/remote/machine.c b/hw/remote/machine.c index ced782f6a9..df08f64019 100644 --- a/hw/remote/machine.c +++ b/hw/remote/machine.c @@ -24,6 +24,7 @@ #include "hw/core/qdev.h" #include "hw/remote/vfio-user-obj.h" #include "hw/pci/msi.h" +#include "hw/arm/machines-qom.h" =20 static void remote_machine_init(MachineState *machine) { @@ -148,6 +149,8 @@ static const TypeInfo remote_machine =3D { .class_init =3D remote_machine_class_init, .interfaces =3D (const InterfaceInfo[]) { { TYPE_HOTPLUG_HANDLER }, + { TYPE_TARGET_AARCH64_MACHINE }, + { TYPE_TARGET_ARM_MACHINE }, { } } }; --=20 2.43.0 From nobody Mon May 25 20:33:08 2026 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=1778183382; cv=none; d=zohomail.com; s=zohoarc; b=m2vicT+oSp7nPS6xKw1Wr8twEWEIYkgz/G5bSZ/klg4j+RWAucImoH1ys9ft2UQbmxXVAZ4z6iynI9paIOf7Cn2TvTjzfZZMU+iZEXicBn3WjQizxlnk5tYhzFUCqhOxaVhPPRQ7mfcuPsxF2kFCccadJYv/ehtxt9xgL7Nof8o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183382; h=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=TwQoznHfoi6X0cMFnSCdgFp2onTlRFNtNkmcJ9GY4w8=; b=S+fchE7mbKn3y49N/4GKV8QB4b/ZTLx56a07AeuC+BBtDx1/YVTS43YFxaxC7u6Dyb8EQZrQMf0AOPbyZ48tgK7thmVYDPABtkVm1tdYSndwvJxLXenv2xFwyPa3EfUxwypbGFq29///6h5OtXfhgtuxvcjMs1RJxZGlnOXSgeY= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1778183382872370.0516142595453; Thu, 7 May 2026 12:49:42 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iF-00030D-TH; Thu, 07 May 2026 15:48:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4ha-0002nA-Rt for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -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 1wL4hY-00068Z-OI for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:06 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-488ff90d6c7so11394425e9.2 for ; Thu, 07 May 2026 12:47:33 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183253; x=1778788053; 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=TwQoznHfoi6X0cMFnSCdgFp2onTlRFNtNkmcJ9GY4w8=; b=M/hCKBEjjDEvqrp5nqZlsfv9ubd5TEQXKJTRdeE3PuIk3KhtR0T23Pz7+8GZ0rVOJt +Tv8SpJVW+Ri2obPvI5ZMF7F0sI7H2bXoTYMiZ5LDyWMfePRYY5Ly/fDQOmJONe0L2d7 zqadIvTe8IyiTU7gwlIR8LungJg/7tEERQt/aKI5mMi/NcIuXqXnZM1euvpKy/1VD1cM w4I8Rz5MzigI+JSodEoK5+0eVfiK5LoSaO/Cs1MJcXogS7zW+hPJqKNFZmoFogOOvrgj WF1cYG6jORPKIzN0kRjc9LPT5PGY8qWfxGhO6kR5bFNsHXFL2+fposlPDhEX8pgGfstC SrYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183253; x=1778788053; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TwQoznHfoi6X0cMFnSCdgFp2onTlRFNtNkmcJ9GY4w8=; b=QWtQ6bcX+j/zFyDvLRPeUYaZ60gG7A45aq+vWxQ4VspfLE7pADDx0+HlyAUR+m2+XF MEMisKPoFFpJCTBUV8Ifxc1MVjnJwVnNZkFYy3WE46Rc0TM0nHtRw1aYpCzmSynzVHgb I42RfF3k46jzdSRhYmhDGtXbXwUT1t/UD0lfxj18yDa1ouiFPW0Uweq7jBbjSm3BzI+F +3G8xrt9LtT97KRmf7PjtwvZs6CizowbHxWZcMHPNCdjeXb7WW2xlwOCjlXHH4xufhFL EWUVS9y2Vvof3LHMKWMqGbWOyFxy+QknnH4OuktTKBgpqugAbwOiBTKmYY7p8OYD1Pv9 pWzg== X-Forwarded-Encrypted: i=1; AFNElJ/N4wCcK9JJtAdnk7Cu6o0h/03qMwGgpJw17b9OVxHK2D9/zup/P94PiOafHuX8bN1M3Tu/i4PzALu7@nongnu.org X-Gm-Message-State: AOJu0Yxc81zpE/Vn+v2ekrEb4wKtDgCe+4k/Oj0hEg4PidNdABhYlrM7 Do+Mva4n5sm4zMR6yzjVZCA3qoBMVWZla/tuO/cAJCfYWj1zOASps1XJ0Olm+rsOy3Y= X-Gm-Gg: AeBDiet7USOYKA6W9HyI2y6vJ8+lwr7eVdqW9eElgZ9fgPUYMABykX8uRaKYWaeCA7j SH7DuoOfBpHsorIbpLISkVmgSmWs+reL5Hi50sY9iqkIT2MpAbsSgLTFV6Z2f6+wN3dzxx1kTAO HiOINWyl7oaOcjct7U6wOTj5spLKOqpHl9YsGI1PswIXn5h4vBEB1lERntrst1t7IBYg6xuSZd2 89PEg2FbDQQbfkzaUCIRDBJBGQS+PeHG+TJgGTns83R0ptjKNNZKvaHgeGW/b2fdQWUVcCqeHq3 y3fH5Bgo9dMIqHZWnrgLrHc8LQ/FbBCRn7ARhNf18oi4gLMPvDxFbBNYRHWhb33LFSrFEWqYRgA UxRVoWF1Srm2fNbPKilKc9N17+OOyT4JAohHV4EhbWnYJQQy9Qo+zRyPfkAp1z8+hJMFYR+nkEl FETE2BlNONSqDCXo7tjivXzlCX81//6p0TKNUk4yHFG0eMIdvjyc6CnWNK8tUO3JX7BMCN/62ZI 8hmymxOxMw19Q7x2d0VbO8SBLPnmk0= X-Received: by 2002:a05:600c:a111:b0:471:700:f281 with SMTP id 5b1f17b1804b1-48e51f46e24mr123393295e9.25.1778183252784; Thu, 07 May 2026 12:47:32 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 2/6] tests/functional/test_virt_vbsa: Skip UEFI test if virtualization not supported Date: Thu, 7 May 2026 20:47:24 +0100 Message-ID: <20260507194728.2034696-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=peter.maydell@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=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: qemu development 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: 1778183384697154100 Content-Type: text/plain; charset="utf-8" If you try to run the functional tests on an AArch64 host which doesn't support nested virtualization in KVM, the UEFI test fails with: Output: qemu-system-aarch64: mach-virt: host kernel KVM does not support providing Virtualization extensions to the guest CPU Catch the VMLaunchFailure exception and if it matches the error messages the virt board puts out for virtualization not being supported, skip the test. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier --- tests/functional/aarch64/test_virt_vbsa.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/functional/aarch64/test_virt_vbsa.py b/tests/functional/= aarch64/test_virt_vbsa.py index 57bfe5d7af..04b5ff0f9e 100755 --- a/tests/functional/aarch64/test_virt_vbsa.py +++ b/tests/functional/aarch64/test_virt_vbsa.py @@ -17,6 +17,7 @@ from qemu_test import get_qemu_img, skipIfMissingCommands from qemu_test import wait_for_console_pattern from qemu_test import exec_command_and_wait_for_pattern as ec_and_wait +from qemu.machine.machine import VMLaunchFailure =20 =20 @skipIfMissingCommands("mformat", "mcopy", "mmd") @@ -96,7 +97,14 @@ def test_aarch64_vbsa_uefi_tests(self): f'file=3D{img_path},format=3Draw,if=3Dnone,id=3Dd= rive0') self.vm.add_args('-device', 'virtio-blk-pci,drive=3Ddrive0') =20 - self.vm.launch() + try: + self.vm.launch() + except VMLaunchFailure as excp: + if "does not support providing Virtualization" in excp.output: + self.skipTest("accelerator has no virtualization support") + else: + self.log.info("unhandled launch failure: %s", excp.output) + raise excp =20 # wait for EFI prompt self.wait_for_console_pattern('Shell>') --=20 2.43.0 From nobody Mon May 25 20:33:08 2026 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=1778183341; cv=none; d=zohomail.com; s=zohoarc; b=aXcRfqT8nAONVL5qPGpiIJIMsKJyVsZF/fA1l2JDEWzX+9cXJ8iBJlagt3Ww7kIA8XANsFA0MmAoErubjXtrnWu8POTuOHlMQKNp3J/iUJLjZdDDtiS10T4NrNwxb7uhqVd+QWTDGBhCQQhu1bkxxlADt8bwr0f61R5kTL06Z8E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183341; h=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=ELnoXPwV7hchkGAh18z/4PAMA/A/fUY2drl+3JQwIO0=; b=FZ9ua7V+XFtbIEyx/rvvHxVrMczG/tekKJDDAijWwCRc+4ENxfTo2lX21+KtnfqXslWK5Hizil6NcDSucuLDlfMV1EbaROUjmbzpWtzykD+LDQBkdZf7y+gtXWGwukeayMk4uchhdY70GVsmx0ZUxJxHrJyin3c7xsPR+QX+/cE= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 177818334110434.475835257584436; Thu, 7 May 2026 12:49:01 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iB-0002vX-LW; Thu, 07 May 2026 15:48:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4hZ-0002mS-0J for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wL4hU-00069U-Tl for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:03 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-488a9033b2cso12312295e9.2 for ; Thu, 07 May 2026 12:47:36 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183255; x=1778788055; 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=ELnoXPwV7hchkGAh18z/4PAMA/A/fUY2drl+3JQwIO0=; b=aMrq35HEiIj54TmQk4g94oWVjV38DAZ5o954aymSjGyGkHH8tWenY5ozc7p4iynbDA RJbSfHZfZJL89VPtxGgAIuVQAYuT1uRiP027fCKFO6Yerg6e0gmeSHd3BFFZNafgih0d tomHByFCCRGIoRJ76o/M7Rbc0nnu0oSIA2ix7UGlNUqcgvaSlqrCoTe/cbmqDVHSeyPn 3jlBvkNEeHT1MaBqrd0ZE/uXbIaxwvdOd4f/5G0Vx4O5isqn+eLShdEV3VHaZMq9tfzc 1pXDgdyjzifCvb2cu5V3t6V9uwJti9dNpfYIE2Klr/fKZ4IN0bFb62z/J94ChIau8xNt 8F4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183255; x=1778788055; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ELnoXPwV7hchkGAh18z/4PAMA/A/fUY2drl+3JQwIO0=; b=hhItHgAk3DtgZI9R+vmF9Y2VU2ZCufbd0Ivv9Zba6nKBun+ZcMzfaYoKx25Eb4Th5S 34IgL3WLOeOx3LGalhAcdUZMWBeB+ql5V5afJLmFGL+16tiuBzAt9fSH/sjMZBM1E4aG 7fqkU2AAWi/bjE+DxxI7HqIDr/BvTYEDA8e1yr5hIhXm4I4oy/UJ4y+GFHK5dT3+DGEQ sRYgObX/2/zg4WV/6gSzWhcyXOgtm1fjUzpn0zg5tSUP0orJza/QfXLaBJzmGYKvHgCN 0notwnIhWSpNk7nYb7w6Da7yy4gitFzBIBjlqVl0vlzk7FRQIDVJiQoFQFzLdlbA2iya 32NA== X-Forwarded-Encrypted: i=1; AFNElJ+/xXTPMpwhcXnlWZObVJYwDOrhpz3QadphyOBpSjxsU/jHB5+OlHvVZW4MayrARaghwD/imLfjEQen@nongnu.org X-Gm-Message-State: AOJu0YwWyBtoz3NFYY/rrBO6zt59W40IXNVW9k/a4d/Z1V76Nwn4HQm0 3nka4nMM5gfHcybAWEJyiOVbu4z8wCQHOM3qnJTpYzNWj4787YO0MNASoZ7RhqYmxKs= X-Gm-Gg: AeBDies4DdSehwtAH0Mu3D4a1hsLm9vHyho3ZPdrGMb5Xx4JxJ6XlAxCCwntDaMf+8F LByZ/SRrR5bxSCNtzh387gh5X62hwDVmtf15WkkRRggaahvEoXUvtG7yXzY2e9753VlwrBSiCg2 DDQAYro/WgdMUVuq4+65i5mq70SWTcOc57xDg7nmfHLd1V7IGYgWe1tbYIQ8pKvwqE9JzZedAiC +bydcjb3hgDswst6iKsCFwaW40LGfkQlXHWzRLPUgeLBwZ1Zv/arOijnOXPgTwFngEdQxQiEoLb 93uJYnKKoQx0KVQ9cJQ8Jic/Sdt8bMWtolWhjvfANf1suHXZs8VeOqgKGTUAN/fm+XgHetuqH/L r3JQNZJv/rtVJ94IgG1pqHu0V7O4uLGvbrPuQRbMI55gA9EmEGvC5sN45ClYuZp5GFGTkdUG6HK Lo5u12nMWL9QRzGI+vhqy+fib9DpYdTG/fFSYI/GU8UUWdf2ngN26ZNGLzqb3NCHjTwUZqrHv+9 Wah1MgX1DU66uPQ3mLbSwmEHguexa92y51aKStbz2VUpaD+E0Qn X-Received: by 2002:a05:600c:3e8d:b0:48a:6268:18a9 with SMTP id 5b1f17b1804b1-48e51f32797mr161698175e9.13.1778183254836; Thu, 07 May 2026 12:47:34 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 3/6] tests/functional/test_kvm.py: Use -cpu max, not cortex-a72 Date: Thu, 7 May 2026 20:47:25 +0100 Message-ID: <20260507194728.2034696-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x335.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: qemu development 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: 1778183342978158500 Content-Type: text/plain; charset="utf-8" The test_kvm test claims to run on any accelerator supporting nested virtualization, but it specifies the cortex-a72 CPU. This doesn't exist for KVM-only builds. Use max instead. This fixes a failure like Output: qemu-system-aarch64: unable to find CPU model 'cortex-a72' Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/functional/aarch64/test_kvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/aarch64/test_kvm.py b/tests/functional/aarch6= 4/test_kvm.py index 7545f5ed55..fed18aba60 100755 --- a/tests/functional/aarch64/test_kvm.py +++ b/tests/functional/aarch64/test_kvm.py @@ -38,7 +38,7 @@ def _launch_guest(self, kvm_mode=3D"nvhe"): kernel_command_line =3D (self.KERNEL_COMMON_COMMAND_LINE + f"console=3DttyAMA0 kvm-arm.mode=3D{kvm_mod= e}") =20 - self.vm.add_args("-cpu", "cortex-a72") + self.vm.add_args("-cpu", "max") self.vm.add_args("-machine", "virt,gic-version=3D3,virtualization= =3Don", '-kernel', kernel_path, '-append', kernel_command_line) --=20 2.43.0 From nobody Mon May 25 20:33:08 2026 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=1778183388; cv=none; d=zohomail.com; s=zohoarc; b=ZKHONpeftC9MTGAWCdeBp4hmsd0zmS7o8nflcu7rRFRFXkCDJM9027xMjG9WBCTBeI8cYVkF+iD2Rq7j/cSTlqrjDAgOCnAEcwmyEDGHYO3CaJwX1tpB1uMUF28WpeVzvwtk9vh+HjhUplRLTmHcuLFDXK4+nKFa4q+fIaXtUGY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183388; h=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=+9M59IsSQ4jRNfkdEPtwMPinyMjNpa0S+EfEckZHfMA=; b=eQrgw+7zAGUih3nH82VKWZd+G4kERprls15n8fe2ve+roiIxXx6AJB/TwbW9FIr/+QUKKKwbyVzehp2tATmSf8ajWlbvST5Z9RYYjRMj9jbqEUYg7Eloxur0NPUMuoaKKVkogO2b8pwnub8TsfZ9TgoOu3lMc2U8SBtcZ+rz7pQ= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1778183387961982.6155229321654; Thu, 7 May 2026 12:49:47 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iF-000306-Mr; Thu, 07 May 2026 15:48:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4hX-0002mL-1V for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wL4hR-0006A3-I3 for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:01 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-48a563e4ef7so11893225e9.0 for ; Thu, 07 May 2026 12:47:36 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183256; x=1778788056; 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=+9M59IsSQ4jRNfkdEPtwMPinyMjNpa0S+EfEckZHfMA=; b=yvM0SD1DbPS/fhF2nhZ6FIAwvjoPl50cetpo7E/7kxYNzJ/URcrDsAQ3kYGkLDMRU9 wl5OQ5pcVSFh7R6f2x4DRDfQRUoI2Dde8CTZQtY++NIdbM70hrOxKCYfHcLeRZNfzuPb Z5SIcfYFgBo4v792vg2UyEgfS8h8cZZVd5U7FneUMLJGR+ds8/l80sq+ng16DqjFWuEK YxM5K5q2Spdzlc4YArt06xH1wwgBmPJdBsEo0HN04PHjV1AI90Thlz753gcuXjX9RZUX N7OoRHbTGhyGrWXzfOYHbSKXPJApJcvncMb6JrYGXELzyMhokX3i0VL9iz3i/JsZe12M sRIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183256; x=1778788056; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+9M59IsSQ4jRNfkdEPtwMPinyMjNpa0S+EfEckZHfMA=; b=s8gf1XylgzpEa3ZGU3S0TolwcVB1284DvbUVZXh4qe3kp/NUfK4WEbsN1coffaQvjO u89qpVJ3neFkc7fuzmTx35hgbcInGVGKpNKNTSklelsqipiNxHzhtpSr2LPhUD4qRPr4 WijiqoA3PcJHqM03aSu1kpDB6WhMCgIzhMt6+uYR0Ac00FXJfkUBhqSKYFmZIhfZrkx4 Gsh2LeKc19GjdntQnC+wJkohej21aF4av6gmm+b6wW9g7dRZ/meDRhA1SwgpjnYi9pbh s+T7gj0NrDWbH1P0Ya3pP3L4x7CVAYu1HhP4X5lFEeHMp+fWZ+SG5F3lVwLWtojl+RxE fQag== X-Forwarded-Encrypted: i=1; AFNElJ8/kCbxbMt4yYdVMhjfkrLXGxOjhZgYuiMK2dgTKPe8VLqUQnpcXMqkNiGn6XEouZle4CEqnZyr1BHU@nongnu.org X-Gm-Message-State: AOJu0YwlW1EPMO2NBNUvCRaZRcMvBbrec77X7/YFikPhSBV/ar16nRmB cYrJhGO8X3ncr3Eqnd613tvt3snNprkNT9M0m+MGPGXGr7IIRjONhGV32rZQKEpnQlg= X-Gm-Gg: AeBDietixx78uOkcic7q80BwpN7GRVhFUOLD5emat7iY5topTe2YSPsOivSQPYnYtMs loCuH64Gxd9aZdWGpC8wYoIlFot3rN0fGMnH6x347Kj7UFuFLlgyVqqJ2/li1yctYy13GtBIM+3 sNEkGMQ0Hs3s69dawLDO9zeYXDZ1IcYtFsblH3JUf+D2mYHGeyTRxNKhDal2irDRwPdWWhtJqqJ VPdiOzCWMnPgudRceKa5k01RF0wPDFi+Ej/ZDsT/+phHVgJGA06voJBJH3aUR0mHGe3oqKz7+OU kmS2mWkfY2OCW6zoST2MUoIjMFH3pki5oz1eVG5TNlMI1fqk0Nh2ZfsCRuM4Qafn8zYAnggWMgD dhUnfsxYGnWS2P7wveFsdz+SBu/yk7XXoAs8VvXqYvf4SLQ8lll4lhrAuJBXhS0Tsk8j5TYsf+C bw2aI+uzQhFadKYhPYzOYLGKBM3Oxpqkkdr4oj3UQNFonS27VoQEdr2P5YaaE7uEu5Y3oInUVhC BGNbWNMVK9tl4guVVJyC4he5rCkHaU= X-Received: by 2002:a05:600c:3548:b0:48a:7aad:4425 with SMTP id 5b1f17b1804b1-48e51e097fcmr148799915e9.3.1778183255813; Thu, 07 May 2026 12:47:35 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 4/6] tests/functional/test_kvm.py: Skip if virtualization not supported Date: Thu, 7 May 2026 20:47:26 +0100 Message-ID: <20260507194728.2034696-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x334.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: qemu development 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: 1778183389211158500 Content-Type: text/plain; charset="utf-8" The test_kvm test runs the virt board with virtualization=3Don, which will fail if run with an accelerator that doesn't support nested virtualization. Catch the VMLaunchFailure exception and skip the test if startup failed because the accelerator can't support virtualization. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/functional/aarch64/test_kvm.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/functional/aarch64/test_kvm.py b/tests/functional/aarch6= 4/test_kvm.py index fed18aba60..c977e8c6d2 100755 --- a/tests/functional/aarch64/test_kvm.py +++ b/tests/functional/aarch64/test_kvm.py @@ -14,6 +14,7 @@ from qemu_test import Asset from qemu_test import exec_command_and_wait_for_pattern as ec_and_wait from qemu_test.linuxkernel import LinuxKernelTest +from qemu.machine.machine import VMLaunchFailure =20 =20 class Aarch64VirtKVMTests(LinuxKernelTest): @@ -44,7 +45,14 @@ def _launch_guest(self, kvm_mode=3D"nvhe"): '-append', kernel_command_line) self.vm.add_args("-smp", "2", "-m", "320") =20 - self.vm.launch() + try: + self.vm.launch() + except VMLaunchFailure as excp: + if "does not support providing Virtualization" in excp.output: + self.skipTest("accelerator has no virtualization support") + else: + self.log.info("unhandled launch failure: %s", excp.output) + raise excp =20 self.wait_for_console_pattern('buildroot login:') ec_and_wait(self, 'root', '#') --=20 2.43.0 From nobody Mon May 25 20:33:08 2026 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=1778183339; cv=none; d=zohomail.com; s=zohoarc; b=NFaeEyubnwKHE/HI4doQ5GdSryHPsYIMWloY9eXgB1Kai/pWdvVyUY7qhyaDB1XRObzuaxkVd9JOXPT93B5l39kj1hmzDIu7Ppp3sPhA6x7D8lAXLbVYncN/5jlOmVxB2SY2jLoASNdUzRSAwyWsVSGGs+1xkIyzzln41xoNptc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183339; h=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=c9/CpwSdzPAWM3Y46+VvKwWfePHfvifEEPhGbQPsqQ0=; b=BBF+tAL7oFw9OAF1djFjTxBWLMhTNxvQXhw3Gm8hjLFEBO8UkHGMNIMaR3CHd41G95cS6vRbd4t0MY4HrB7Ru+nVjAWgb60FcGo01Z2QFLYUBUS82CgQgKwR5niDlDu77FYvE/Y175iZEhoV8RFn9KNtprzFYQuUpWWvbs25uTE= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1778183339330922.9898622379371; Thu, 7 May 2026 12:48:59 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iF-0002xy-4f; Thu, 07 May 2026 15:48:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4hY-0002mR-W7 for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wL4hV-0006AS-9I for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:04 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4852a9c6309so10928255e9.0 for ; Thu, 07 May 2026 12:47:38 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183257; x=1778788057; 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=c9/CpwSdzPAWM3Y46+VvKwWfePHfvifEEPhGbQPsqQ0=; b=GJNdiooxWuGyjBMlphnzITOvNplSSAZ+e9yvnejHnwa/8/vDas2rMpLSFVxLHUEGJs bUYV/BbFU+3UVMfCFKnAmXvENjzctIHJEOW12/vpPr0Fj5Wce9leYXYosMTkMJ4bH00A RiqxJ6jnnXky6qSjw+mQrlTJoa+upE2wHRFUVO/DcJPNgPLJuDZ8apm/moa0jmxW+FJv NtPfor6vqetLR7vKQ40u28UQ4aCQxi75DJ0VHuf6yx/+XZk0TbJhDosFhn7uLm0DETEf a2YtYCvfYNfQTXMlIM4fIH4XvNvRlhfMDO0WPhUTQE9OH5AJOfIQb7nOkaIk30zp0+T2 pcgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183257; x=1778788057; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=c9/CpwSdzPAWM3Y46+VvKwWfePHfvifEEPhGbQPsqQ0=; b=NMWUNQRBmmfST/HX9VJTunH5jPODtLp4iWtbz5Pk9VdNbVzjlWgMdZO2k9tTEUqskH /Osxhc55uwAeJFdbnuf/y03hgqSikgQ9efhUanBkdHksRzawIvwmalYMWCrTCeOvyEjI KnpKvlOk0aZUKfsCzCgIEYOEOnrpjh3BHlNrSv7U7fknXuccnFTALkWT9SVfO1c/vXy3 q4HIwvAF6kef76PugcmE8cakNN1YefgmhJ8xBLYnxWtaO7U9uLDucHtjOHcQ1Vwra+80 dOOS5gXB7Eo7suxU9rY++Nse2QUoAHztsIEaks4r6E08zz4iWaxEbhDrrPNvgGKusZH8 nHQA== X-Forwarded-Encrypted: i=1; AFNElJ8ZDQRS/DXm3y4g1Jim0Svp5V6vuLhUg7dXnsy2+ggVWEiqYt9AAkyF6O6UM31+XQg2wpQcHfZ71hkn@nongnu.org X-Gm-Message-State: AOJu0YyQ45BJbMmmNEYM7Dj8UldOXPCzGnC30DN1amrzFKNkLugPSIIt OPehCqFwEysw5ll+pObREzkv6fLZ0A6SpuSLr/+TFXQ3pazjQRMleNx4sq+G5GgFFFk= X-Gm-Gg: AeBDietdxxgYQ7cb5SPyIDWNyiQ+jyXYNMWGPBxck6xqZ/lncdzdo5QoUQz6SLybRCU RnD+H8OeZmBRIfAof9nqmQ9bZKPegnFcl99ipeKJ0F6gnoTJ9RH65+r+nU23PXjMSjnjaCT4cGV fnz5eNAh1W8vswcw11ohvL7YMjq+J76sjwUl+QNOWLy56PnoMPpfTd499oIrBMPB2fM3Yduo/aw zLwOBKX5pV0VFEkQCS7ZR3iKk6GZWtsBfjEEqCF/Cw8oYAMCuPH08Oes17wuOE3kvznaumyNi/D jThpVrFHQNQRy4xmPVjiSY8RImvI0F5lXt3w6w/6F6SYtSx0IydPAYRumQISXofJEmPpkX6VDR2 UDMub+7BtfrwWEfDPIHoMTbShLyPXVMjLWaJfa9MBVGvxNdUVsH3TEX9TX6YFzHxt3MPPanBkl/ Wff7p5OhL2fY8dhAB0Hhmg/sg7DEQ+9XuVsYETNl+SFbtBvFN2fifh2PWe7NDktcENd6CV1j4OL 9ZheJ3JqD8oW6vR38ZRM65AVup9zqY= X-Received: by 2002:a05:600c:b8a:b0:48a:5333:811e with SMTP id 5b1f17b1804b1-48e51f2f91cmr147347725e9.15.1778183257503; Thu, 07 May 2026 12:47:37 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 5/6] tests/functional/test_hotplug_pci.py: Require TCG Date: Thu, 7 May 2026 20:47:27 +0100 Message-ID: <20260507194728.2034696-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32c.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: qemu development 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: 1778183340327154100 Content-Type: text/plain; charset="utf-8" The hotplug test asks for the cortex-a57 CPU type, so it will fail on an AArch64 system using KVM where TCG is not compiled into QEMU and the default accelerator is KVM: Output: qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0= ): Invalid argument Restrict it to the TCG accelerator. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/functional/aarch64/test_hotplug_pci.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/aarch64/test_hotplug_pci.py b/tests/functiona= l/aarch64/test_hotplug_pci.py index bf67720431..9ee1446a83 100755 --- a/tests/functional/aarch64/test_hotplug_pci.py +++ b/tests/functional/aarch64/test_hotplug_pci.py @@ -27,6 +27,7 @@ class HotplugPCI(LinuxKernelTest): def test_hotplug_pci(self): =20 self.set_machine('virt') + self.require_accelerator('tcg') =20 self.vm.add_args('-m', '512M', '-cpu', 'cortex-a57', --=20 2.43.0 From nobody Mon May 25 20:33:08 2026 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=1778183355; cv=none; d=zohomail.com; s=zohoarc; b=lNG9C3pGL5Y4IyVGJkzvluZ2Grp1+MzuCBZC7QJ821BGL21NezeUOcxEp39fOJgfSPvwkfonAuvxGN3F5hsBnOC89maOyKKILeti8j56xlj5PqueKF/Zg+bUn2Zhp08MWJG160T/0Tzon/CwA5wQ/vDAdZ1vmJxk1MvepTNEDGY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1778183355; h=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=vxuCQv75FqOTgqHf7uhOh33FKyFMH0uLqFU9OhcHcj0=; b=FFOaBmezI031MwRb4ktFd+iua1xIvbK4vrP3BSUTP4lF3UKJ5hiGNVOW7B2bkH/FiQOn+MyPwl+I4vYyS6ekFSdx8awTOuJnk8ALkJdW4ljVDcOdb7otZG2eqdn3d/aiaTW3pY8KsYkJoaMbf0+EVjK8NTauXHI+MCfsqAHWU9Q= 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 lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 177818335504618.320036929156117; Thu, 7 May 2026 12:49:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wL4iF-0002yV-7m; Thu, 07 May 2026 15:48:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wL4hY-0002mO-V1 for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:09 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wL4hU-0006B5-Uc for qemu-devel@nongnu.org; Thu, 07 May 2026 15:48:03 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4893940bb5eso7905495e9.3 for ; Thu, 07 May 2026 12:47:39 -0700 (PDT) Received: from lanath.. (wildly.archaic.org.uk. [81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e65c145aasm958375e9.25.2026.05.07.12.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2026 12:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1778183259; x=1778788059; 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=vxuCQv75FqOTgqHf7uhOh33FKyFMH0uLqFU9OhcHcj0=; b=wV7CCIE/2rpgp71aFO0kOFdSBy5TG422y3T8y3SCUSvyrWJIzjIoznsPLXF31vfMCH 63tBTWyY7gBpCFlsBDqikvjRSgITTcdXRaLgCRmxJToN9asn5PLt4cvo2AOjk+x+bxeo YXAhXXXWK1rfMU6zCbgGzslwBjQnkYE0/K4tV2O7EhkHsKz7m3KuxcSl9PaYO0zzVlVr 9yBPnBoymOPm4UTmWBPmaBHEiJbr/uHXkYPqcXaOFTeQw3haB9HJ0gg0A79N7dxv+EOX Y2CTjlKajFbMRPwyIbIMNkEHaXWfjOSG6P1/F1CoClLr03fIWNY2A21AOFWeN2kf2+QT rScw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778183259; x=1778788059; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=vxuCQv75FqOTgqHf7uhOh33FKyFMH0uLqFU9OhcHcj0=; b=V5hJJyJTTVTyvXRZVoxSBD76i8O059ucvbMBDRfiEN5g+OpZYYi1k7v5Mss9GNNBDl uEZMNP9d2PEhKUlv6DDnV0R6CYbJLxVW9dI85wyIDwDi/kt1bAwOxJqfCRz591bRfhbr ifhRvB22s6xeuaWQK6fldreDZAs6UCbz+yKXQnAaubWoiffFm4Q4+zpYOMIlsEvVqO9x PdCenHfYOsolNupKSfNv77tPr0KBGS7KR+poDqjZ6g4E0I/z2kcMUNhSsItKrsrI/yUf DX/rdqpu/RQ+nrxBvPtMPDjmgvrK46IFt46c/HJ4oesitsFOpOi77YHyyk2DAWJDBeVM dpoQ== X-Forwarded-Encrypted: i=1; AFNElJ+jCWuCxrCII34d6ymErLJzdcccW+BfTzGSQYDIQClj1k+NS40/rzF2Ws+BhfJci2NxU8iVVCVuKSqL@nongnu.org X-Gm-Message-State: AOJu0YxWsK/PzWLewsb2IQL4swgpiCczz9b8ALUJy6F4Ywvbp1jMUzLY DiduNdi6hwjRKtW4PCd3nxlVjhaP0cP8jOsUGkKFynOGxV6u0hsmf6dWje160b/Ih14= X-Gm-Gg: AeBDievIJnFx6tG73sAJ3MxI1jKqNVz1FxWROyykMYtwBqEWyZEcKkmeojb7Yfpaxcu bHubZCfKb/iTgz/JiRtZqpYwzEfh1aeHISie2/h3GNEGHsd783RNhR51yrDpgB/Gxi49hwPRqud e1aSomfXu0V3vIyka/QtzZzbE03wxR4JvHo5gKepTSiyR00oXVddDaV/vOQmGkpJ0bq9k4Rddd9 KE4XvroOEzNkU9o4JjhWxO4SnVCU0TyXFTH6SpkqZ3FCKkRwGqeQmhXS4HSYYe0cNo3NWiib75A NSYc0CMUTr4gx1AP/j7Z/t2CLQKo57lCUU8kJgzl9WBjSp6yG6fhgFUBL2lrkgXtKrfNje1u3kx qOZhgzq5t16beojC+QEZtgU8cFcXpZSu40duy/ButxNYifXX1xLstKIAvrqw5KvxFGlGuOclBOf y30GNe5k246ApQMh7cyB5FaBLUBhYzazLXUVuU6i8RvDEcegBkRoPdi5ws3Zd2SVkqSKJoo1i+8 gcFQWOUqoucJPdgQV3MJfNjV9hrKno= X-Received: by 2002:a05:600c:1504:b0:48a:525b:e148 with SMTP id 5b1f17b1804b1-48e51f1856dmr82943195e9.4.1778183258755; Thu, 07 May 2026 12:47:38 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Elena Ufimtseva , Jagannathan Raman , Gustavo Romero , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Pierrick Bouvier Subject: [PATCH 6/6] tests/functional/test_tuxrun: Restrict to TCG Date: Thu, 7 May 2026 20:47:28 +0100 Message-ID: <20260507194728.2034696-7-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260507194728.2034696-1-peter.maydell@linaro.org> References: <20260507194728.2034696-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.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: qemu development 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: 1778183357064158500 Content-Type: text/plain; charset="utf-8" The tuxrun tests specify the cortex-a57 CPU; this doesn't work on a KVM-only QEMU build, where the default accelerator is KVM but KVM doesn't support that CPU type. Restrict the test to TCG, to avoid failures on KVM-only AArch64 builds: Output: qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu fail= ed (0): Invalid argument Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson --- tests/functional/aarch64/test_tuxrun.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/functional/aarch64/test_tuxrun.py b/tests/functional/aar= ch64/test_tuxrun.py index 75adc8acb8..7dd50c3de1 100755 --- a/tests/functional/aarch64/test_tuxrun.py +++ b/tests/functional/aarch64/test_tuxrun.py @@ -25,6 +25,7 @@ class TuxRunAarch64Test(TuxRunBaselineTest): =20 def test_arm64(self): self.set_machine('virt') + self.require_accelerator('tcg') self.cpu=3D'cortex-a57' self.console=3D'ttyAMA0' self.wait_for_shutdown=3DFalse @@ -40,6 +41,7 @@ def test_arm64(self): =20 def test_arm64be(self): self.set_machine('virt') + self.require_accelerator('tcg') self.cpu=3D'cortex-a57' self.console=3D'ttyAMA0' self.wait_for_shutdown=3DFalse --=20 2.43.0