virtinst: Support paths to SUSE OVMF firmwares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux