From b623ece2ba6736cd5b8ea2401ae9dd8504df391e Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 8 Aug 2018 11:55:29 -0400 Subject: [PATCH] domcapabilities: Whitelist fedora arm and ia32 edk2 paths --- virtinst/domcapabilities.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py index 5ea949488..ba061c964 100644 --- a/virtinst/domcapabilities.py +++ b/virtinst/domcapabilities.py @@ -149,6 +149,9 @@ class DomainCapabilities(XMLBuilder): # only use this info to do things automagically for the user, it shouldn't # validate anything the user explicitly enters. _uefi_arch_patterns = { + "i686": [ + ".*ovmf-ia32.*", # fedora, gerd's firmware repo + ], "x86_64": [ ".*OVMF_CODE\.fd", # RHEL ".*ovmf-x64/OVMF.*\.fd", # gerd's firmware repo @@ -160,6 +163,9 @@ class DomainCapabilities(XMLBuilder): ".*aarch64/QEMU_EFI.*", # gerd's firmware repo ".*aarch64.*", # generic attempt at a catchall ], + "armv7l": [ + ".*arm/QEMU_EFI.*", # fedora, gerd's firmware repo + ], } def find_uefi_path_for_arch(self):