From patchwork Thu Jun 19 13:13:19 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: 897995 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f54:0:b0:3a4:ee3f:8f15 with SMTP id cm20csp817900wrb; Thu, 19 Jun 2025 06:20:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUNusllM9JHsgrpojSKY3IOxzLg2mPMJZH95zMBAujPuTmlB+HjSR0hrnH2E8PzS1vQqOoGwA==@linaro.org X-Google-Smtp-Source: AGHT+IFOxpPw3snguSdOCnIyncT7AFT0xo8rm/+7hl0QOZQgFJ/zcCou5o8qsJpfwvm51ujBFgTP X-Received: by 2002:a05:620a:17a2:b0:7d3:8d5a:434f with SMTP id af79cd13be357-7d3c6c0c6cemr3038708185a.3.1750339218365; Thu, 19 Jun 2025 06:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1750339218; cv=none; d=google.com; s=arc-20240605; b=eSG9qyAmieEnrXLk1hnBPfpz7V1f/HeEy/WtZZzm0pwFAJu/QdcIFA5+ZwCuxtnbY5 qpCqLSd5cI2GwVkWORJYax3CAVVpf7m5IundY5expd8Iem5YrodVDmy7IwPyXHb/2XLn Un358nwP0sTLFmLHY1u0kD+8oWTSaUIGfa/ITRKo7lVbr+bx+ubPcE+WrTkd/G2zeNvt pQh668tdEd5+qanFRf8z2SH83az98Dg0WEe7aLqMMfTYiW581DcYmfLGUYf5Tdgw6zUp QrfA7K/LlFeKsAIdzCdaqUqZRRRyj4qz1B8xci/w4+5oPm/pHoqu1pWOeEYh1htY5SC5 CvyA== 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=yfbZh25j/JWcO06w+c80OaMwV9tGFnS1KSANu6xFbyE=; fh=HMBMEYbXwbwG+LSk9/wtQ+/LHaozQ4G5WTAv5SKNxMo=; b=euPOd3soZ1dR6vCElYmn2wReRjbbgCyryc9sFXTYf9Cz4SK/VmyYuHLa1NHU6Dm3Nn aKP1ycueki2UeDWZ12Amojetz6m9VLIWKOIS4cDkpNXM//am9lbht1MzR7i0EBNLCPV1 /NQlgUtuXkQ2j2955zVK4CmZadq/GXeNbV1cChqm6OBbyXmXL9U0c7ttNciWm/CoDhb2 VqBue/hqCFk+b4d4kyZGWj7cUeGys8L6edHCoJs+G6U5OoVC2GG3PHd31612OlvIAME2 DtuNtk9T/b/QxDzxE1ovc2JT7yiO8Dt2IU0lb18yI2E2F1Y/HMyNZ3RX2T7hBWrRXAc0 DREQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jzPjDWpj; 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-7d3b8f57940si1632398385a.635.2025.06.19.06.20.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jun 2025 06:20:18 -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=jzPjDWpj; 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 1uSF6u-0006Mp-Gq; Thu, 19 Jun 2025 09:15:20 -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 1uSF6m-0005Re-1o for qemu-devel@nongnu.org; Thu, 19 Jun 2025 09:15:12 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uSF6k-0004Kv-3l for qemu-devel@nongnu.org; Thu, 19 Jun 2025 09:15:11 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-453426170b6so11665635e9.1 for ; Thu, 19 Jun 2025 06:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1750338908; x=1750943708; 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=yfbZh25j/JWcO06w+c80OaMwV9tGFnS1KSANu6xFbyE=; b=jzPjDWpj81RuWVYolYhuqpW7YwtCEiNw1hNEgp7QNgq6eQIG5cq9opLc9Lcj82WONJ oF5Sv6/27lKl90oC7+7dF7B5TAdR39hUIIKbsMjk3JfhDwZmvkG70jj2XdMPdXj3e/DD H1+fN12NMVyI/GRx0amm/irCWy0VspTdyTiefvyfeQK0oZwvQu2MilpCVu9fVZ2/nnHh Tjo+WA780JveA7jOlvoiHxfXdHzISM3RmDQnITrrRrif0Vs4XMGi9JI745blAjlJLDze bV/xCBMfD5j9pH2h9nSm32BuoVt8OEZzXrjpdQ+laWO5KEaJ5XPUK/iZqpsOeBQflS+V 5UWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750338908; x=1750943708; 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=yfbZh25j/JWcO06w+c80OaMwV9tGFnS1KSANu6xFbyE=; b=c3hA1ykakaseDsyqm18qkfhYU93XOJG49bjrTUiB9V8tL5aYNjQb+LVNWeezIhIlpP dWX5CZTxQ1mnerp/8LJNz83D28Sy7y9UiYUsw3h/9ub/c9guQHnj6Cd7uGyRuM2cMyZi 7IxVypstHtzywbwEkrxDKSKBU7jEE8DQA+HAO6mVL1Z+wMevhmSjNDfrdbR0kOtAfTj+ Seizb19RMuVW2A2Qp6K3WJ9Z6pXoB8IPSrOv6SaiL56AJD15341/2gh0hAEmrGJv3+A+ qhyQ2tVImbl0r+fyder31h3bEyhYTET6ha02wv+CXSgoAKQiTT622QZmYGzzJbUxBFf/ CXig== X-Gm-Message-State: AOJu0YzzuJB4K0jnu/yfRG5pkmW/g16EoVlC8OFXbEaqn+ChQO2K69n4 k7Kd8QO8U7N+vJoWWu2kU3Czf/LM3xOCFyWrprSm8grmX4ILogiyaDIilR0RLGmEniZVLG0QQrI YJe2RkAM= X-Gm-Gg: ASbGnctPgM+2hptPleak3SmVKS+byTHeaA2pW/giCqgRLDZJ7+HIugswItpxEbPFHlO A0rRIiQ66/s66XbbzH4XF1RlcQ1GZ7cof1vf/PBt+ZbBrT+PN5PQmuS6a1LEFlbPobkwq6IajTY o7KLuro/t6tF77wGiV1nwNMzsiUyKKVA0D/T2ubW/y1tziwaMn8/ZxeL9H+cE2qBo4bNe0YC7Ph XBYaTB5XMMRCV+gQyI/WWpZnTuzlNfFTvSvOK2dCQxWNrJLu7VT+o2hPbY2e/sqy07MIDEt3EKo 2ZD9pMeQY2+UwdihVNBmaAWc8lkkl35RBuJrEganjkvIckLR4qh/H8n3CJvQuWlmYXuYw0HLwR+ A/0Qzwi/+mvbSXZ5INEGpBMrog20crtFFx8Lr X-Received: by 2002:a05:6000:648:b0:3a4:dfbe:2b14 with SMTP id ffacd0b85a97d-3a6c96c102bmr2506122f8f.16.1750338907890; Thu, 19 Jun 2025 06:15:07 -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-3a568b2f80asm19552864f8f.78.2025.06.19.06.15.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 19 Jun 2025 06:15:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cameron Esfahani , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Julian Armistead , Radoslaw Biernacki , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Phil Dennis-Jordan , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P?= =?utf-8?q?=2E_Berrang=C3=A9?= , Paolo Bonzini , Peter Maydell , Leif Lindholm , Pierrick Bouvier , Richard Henderson , qemu-arm@nongnu.org, Roman Bolshakov , Alexander Graf Subject: [PATCH 20/20] tests/functional/sbsa-ref: Move where machine type is set Date: Thu, 19 Jun 2025 15:13:19 +0200 Message-ID: <20250619131319.47301-21-philmd@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250619131319.47301-1-philmd@linaro.org> References: <20250619131319.47301-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.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: 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 fetch_firmware() is only about fetching firmware. Set the machine type in test_sbsaref_edk2_firmware(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Leif Lindholm --- tests/functional/test_aarch64_sbsaref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_aarch64_sbsaref.py b/tests/functional/test_aarch64_sbsaref.py index e6a55aecfac..5536ec622e6 100755 --- a/tests/functional/test_aarch64_sbsaref.py +++ b/tests/functional/test_aarch64_sbsaref.py @@ -40,7 +40,6 @@ def fetch_firmware(test): with open(path, "ab+") as fd: fd.truncate(256 << 20) # Expand volumes to 256MiB - test.set_machine('sbsa-ref') test.vm.set_console() test.vm.add_args( "-drive", f"if=pflash,file={fs0_path},format=raw", @@ -70,6 +69,7 @@ def test_sbsaref_edk2_firmware(self): fetch_firmware(self) + self.set_machine('sbsa-ref') self.vm.add_args('-cpu', 'cortex-a57') self.vm.launch()