mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-13 13:17:57 +03:00
domcapabilities: Whitelist fedora arm and ia32 edk2 paths
This commit is contained in:
parent
7334cfb366
commit
b623ece2ba
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user