From: Miao Wang Date: Fri, 12 Jun 2026 10:47:40 +0000 (+0800) Subject: test(run-qemu): use efi firmware when testing on loongarch64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fdracut-ng.git test(run-qemu): use efi firmware when testing on loongarch64 When testing on loongarch64, we should use EFI firmware, since the UEFI runtime services and ACPI tables are required by the linux kernel for loongarch64. --- diff --git a/test/run-qemu b/test/run-qemu index 9ebb9e191..fdeb4b5b3 100755 --- a/test/run-qemu +++ b/test/run-qemu @@ -64,6 +64,13 @@ get_uefi_code() { arm | armhf | armv7l) paths=("/usr/share/AAVMF/AAVMF32_CODE.fd") ;; + loong64 | loongarch64) + paths=( + "/usr/share/qemu-efi-loongarch64/QEMU_EFI.fd" + "/usr/share/LA64VMF/QEMU_EFI.fd" + "/usr/share/edk2/loongarch64/QEMU_EFI.fd" + ) + ;; esac for path in "${paths[@]}"; do if [[ -s $path ]]; then