[virt-tools-list] [PATCH] virtinst: Support paths to SUSE OVMF firmwares

Jim Fehlig jfehlig at suse.com
Thu Jan 28 02:51:32 UTC 2016


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

Signed-off-by: Jim Fehlig <jfehlig at suse.com>
---
 virtinst/domcapabilities.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py
index 86bdfe8..f074b4e 100644
--- a/virtinst/domcapabilities.py
+++ b/virtinst/domcapabilities.py
@@ -101,6 +101,7 @@ 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
-- 
2.1.4




More information about the virt-tools-list mailing list