[Pkg-libvirt-maintainers] Bug#973680: virtinst does not recognize UEFI ROM for armhf

Ryutaroh Matsumoto ryutaroh at ict.e.titech.ac.jp
Tue Nov 3 08:03:41 GMT 2020


Package: virtinst
Version: 1:3.0.0-1
Severity: normal
Tags: patch

Dear Maintainer,

Debian's qemu-efi-arm package contains AAVMF32_CODE.fd,
which is a UEFI ROM for armhf architecture.

virt-manager does not recognize it as UEFI ROM and
says ERROR Did not find any UEFI binary path
(see the attached screenshot).

The below patch corrects this symptom.

--- usr/share/virt-manager/virtinst/domcapabilities.py-orig	2020-09-14 23:37:35.000000000 +0900
+++ usr/share/virt-manager/virtinst/domcapabilities.py	2020-11-03 16:57:18.523204300 +0900
@@ -194,6 +194,7 @@
             r".*edk2-aarch64-code\.fd",  # upstream qemu
         ],
         "armv7l": [
+            r".*AAVMF32_CODE\.fd",  # Debian
             r".*arm/QEMU_EFI.*",  # fedora, gerd's firmware repo
             r".*edk2-arm-code\.fd"  # upstream qemu
         ],

Best regards, Ryutaroh Matsumoto


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.9.0-1-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtinst depends on:
ii  e2fsprogs             1.45.6-1
ii  genisoimage           9:1.1.11-3.1
ii  gir1.2-libosinfo-1.0  1.7.1-1
ii  python3               3.8.2-3
ii  python3-distutils     3.8.6-1
ii  python3-gi            3.38.0-1+b1
ii  python3-libvirt       6.1.0-1+b2
ii  python3-libxml2       2.9.10+dfsg-6.1
ii  python3-requests      2.24.0+dfsg-1

Versions of packages virtinst recommends:
ii  qemu-utils   1:5.1+dfsg-4+b1
ii  virt-viewer  7.0-2

virtinst suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 49859 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20201103/f34c5081/attachment-0001.png>


More information about the Pkg-libvirt-maintainers mailing list