guest: Drop set_capabilities_defaults call from get_uefi_path

Callers need to handle this themselves, and all callers do AFAICT

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2019-10-03 15:35:59 -04:00
parent 4e07c3d8f3
commit 534f2e03d0

View File

@ -543,8 +543,6 @@ class Guest(XMLBuilder):
"""
If UEFI firmware path is found, return it, otherwise raise an error
"""
if not self.os.arch:
self.set_capabilities_defaults()
domcaps = self.lookup_domcaps()
if not domcaps.supports_uefi_xml():