FYI, I added the attached patch to SUSE's virt-manager package. I thought it one
of those distro-specific patches to maintain forever, but in the end decided it
was worth a shot to upstream since the existing regex includes "gerd's firmware
repo" :-).

Regards,
Jim
Support paths to SUSE OVMF firmwares

Extend the domcapabilities regex to include SUSE's OVMF
file naming convention.

Index: virt-manager-1.3.2/virtinst/domcapabilities.py
===================================================================
--- virt-manager-1.3.2.orig/virtinst/domcapabilities.py
+++ virt-manager-1.3.2/virtinst/domcapabilities.py
@@ -101,6 +101,8 @@ class DomainCapabilities(XMLBuilder):
         "x86_64": [
             ".*OVMF_CODE\.fd",  # RHEL
             ".*ovmf-x64/OVMF.*\.fd",  # gerd's firmware repo
+            ".*ovmf-x86_64-.*", # SUSE
+
         ],
         "aarch64": [
             ".*AAVMF_CODE\.fd",  # RHEL
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to