From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=c9lTh4wT; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id E49105A0278 for ; Mon, 08 Sep 2025 11:28:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757323688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B2Mkm3BtTOpw/fdjiXXVzcwPzT4NpCFCMqaAQBRkZds=; b=c9lTh4wTxkQ0UXSuTiqlwflLncEyuoLcAvAyhI1JOSoM8PRLjhEKjAv4MI4P3JRiQbBsaC Sm9gTuQzzJSez6PBRe/GOfwH4EdFtXzsymEHx1EvKOp0KUhUdiGiY7bv4YJeg/rz9gV81u fe9eSh3RUMmigUVzntw1G359rvxc7Vc= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-227-65LGLQhLPgSt9fwQUg9QVw-1; Mon, 08 Sep 2025 05:28:05 -0400 X-MC-Unique: 65LGLQhLPgSt9fwQUg9QVw-1 X-Mimecast-MFC-AGG-ID: 65LGLQhLPgSt9fwQUg9QVw_1757323684 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-45b986a7b8aso27284435e9.0 for ; Mon, 08 Sep 2025 02:28:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757323684; x=1757928484; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B2Mkm3BtTOpw/fdjiXXVzcwPzT4NpCFCMqaAQBRkZds=; b=sJ8aCKPzjHZr9AF2BOynA/9kGOAuoqQ69LESD9eFq00xHXwzRXrb4tzHEUVMtNGr5d F1zee3aN0rL4XB7ZT/AspGwP0Koa1upbQGMlvHDx9SN9XsjtU10r4JcBfSPDbEimiBf2 dLxSPurRNx/uchMPVH5a/DRoKE/DBG01ApUSYjzGkwX9488WTXFTh5jgYlgDKAoiR8Q6 PtxEBXML4oNZebvBLzpd8lvcGMe/eQ5exPCeOrZlXjgTmQb9g7HfOvq174qOe4edc8Ta +IPIxj8PHlk9StN3zww/dHuHvm2QWrhGpOQxuHh6wj/+3MMjmaUhOzQtoTkm1kHn81P5 cvlQ== X-Forwarded-Encrypted: i=1; AJvYcCV5gW/K4vhTWFjAiDQb2TCi3T3oAAfJ6Dm1RpIKZcWSqjwjy5sKqqZfuDl9X3i9v2RP63cVU02sXWI=@passt.top X-Gm-Message-State: AOJu0YxYp4P/drpSlMIBa39badrBvr5CGPrbIImvpd3JqXb3i0On+pI3 BQDe/49ST0WqY0Q9Zl2oA2C0xE/kFvQfLpPwOs3mnBfFJOcv5A0I1CwCs9+WHzSR4MbWGlAAiYx aBTMvB5P3r7ZLhAfUeSx3qb8EE6KXRtXYx+urt457nF4jOtrVgB5WrQ== X-Gm-Gg: ASbGncsoF0f6w8Sg4N3w5YS4KC+fIG34et0J84jNSWL1RiJ88wKzLg7qhGvaIS9iPn/ w+2lLo8jmu3773YGJvyhfELc8pli/XzDyjKjRkUZPvpxBTHd+Syb2uJOAYD7VckJjnkwJ8QEICU Af2oewR5bMtvQ0liBnj10FOnGIvQY7MtOdVJkCyISJ+Kv3rmUci56U0bRfXZT4POGg4wuxl8zKt U942aJRj6HBcVrsbH7VKOCRur+UCjr7s6SVHWAUB8bpIPYZmatBiP/yBB3taANUtE6Nj3oXkCwT w5t+S8iwsY4/GRqOZAN1SSNfn0t8fc2G8uTt8wbrhhL9ShrERWI= X-Received: by 2002:a05:600c:3505:b0:45d:d88d:9ed9 with SMTP id 5b1f17b1804b1-45dddee3abemr54832285e9.34.1757323684164; Mon, 08 Sep 2025 02:28:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEStRV3KFw3DXWiPcv0NairiMyFWaq94sipHMGeL5XsHrl3ASjEr1qrEALuDZ/buNn0c9FCGA== X-Received: by 2002:a05:600c:3505:b0:45d:d88d:9ed9 with SMTP id 5b1f17b1804b1-45dddee3abemr54832005e9.34.1757323683717; Mon, 08 Sep 2025 02:28:03 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3d9f3c36a78sm25307308f8f.48.2025.09.08.02.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 02:28:03 -0700 (PDT) Date: Mon, 8 Sep 2025 11:28:01 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH] test: Fix QEMU_EFI.fd not found error on non-ARM platforms Message-ID: <20250908112801.0d9f6a0b@elisabeth> In-Reply-To: References: <20250908073309.16238-1-yuhuang@redhat.com> <20250908101017.231af6c5@elisabeth> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ws1_tzNwZmXr4Haan_JJD8M66JHiowvAz9eTqGRz4ic_1757323684 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: CHYKPLAETFK5YT7VENTSIN54JAHQPJKU X-Message-ID-Hash: CHYKPLAETFK5YT7VENTSIN54JAHQPJKU X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Yumei Huang , passt-dev@passt.top, dgibson@redhat.com X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 8 Sep 2025 18:23:02 +1000 David Gibson wrote: > On Mon, Sep 08, 2025 at 10:10:17AM +0200, Stefano Brivio wrote: > > On Mon, 8 Sep 2025 15:33:09 +0800 > > Yumei Huang wrote: > > > > > Fix the following error when running `make assets` under test on > > > non-ARM platforms: > > > > > > ./find-arm64-firmware.sh QEMU_EFI.fd > > > Couldn't find QEMU_EFI.fd > > > make: *** [Makefile:68: QEMU_EFI.fd] Error 1 > > > > Hmm, wait, this is needed to run ARM guests, but not necessarily on > > ARM. > > Right. > > > The test/distro tests (currently skipped) can use QEMU TCG to run ARM > > guests on (kind of) any host architecture, and actually the only usage > > I've ever made of find-arm64-firmware.sh is on x86_64. > > > > It still works for me there. On Fedora and related, you need to install > > the edk2-aarch64 package, and it's qemu-efi-aarch64 on Debian and > > Debian-based distributions. > > The firmware package should be installed as a dependency of > qemu-system-aarch64, which is also necessary to run those ARM TCG > tests. It's also mentioned in test/README.md (at least the Debian name for it). We should fix that document altogether, because it doesn't mention 'make' under test/ at all. It's on my list, but I didn't start yet, so it's up for grabs (yes, I should file some more tickets, but I didn't find a moment for that yet). -- Stefano