Blame SOURCES/virt-manager-guest-Drop-set_capabilities_defaults-call-from-get_uefi_path.patch

36f1ba
From cc52485e148de49bfee0b1200b3c6d0bc633e607 Mon Sep 17 00:00:00 2001
36f1ba
Message-Id: <cc52485e148de49bfee0b1200b3c6d0bc633e607@dist-git>
36f1ba
From: Pavel Hrdina <phrdina@redhat.com>
36f1ba
Date: Thu, 3 Oct 2019 15:35:59 -0400
36f1ba
Subject: [PATCH] guest: Drop set_capabilities_defaults call from get_uefi_path
36f1ba
36f1ba
From: Cole Robinson <crobinso@redhat.com>
36f1ba
36f1ba
Callers need to handle this themselves, and all callers do AFAICT
36f1ba
36f1ba
Signed-off-by: Cole Robinson <crobinso@redhat.com>
36f1ba
(cherry picked from commit 534f2e03d077306af4309babd30d92ea3ec4e8c0)
36f1ba
36f1ba
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1753644
36f1ba
36f1ba
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
36f1ba
---
36f1ba
 virtinst/guest.py | 2 --
36f1ba
 1 file changed, 2 deletions(-)
36f1ba
36f1ba
diff --git a/virtinst/guest.py b/virtinst/guest.py
36f1ba
index 41357644..7559d843 100644
36f1ba
--- a/virtinst/guest.py
36f1ba
+++ b/virtinst/guest.py
36f1ba
@@ -541,8 +541,6 @@ class Guest(XMLBuilder):
36f1ba
         """
36f1ba
         If UEFI firmware path is found, return it, otherwise raise an error
36f1ba
         """
36f1ba
-        if not self.os.arch:
36f1ba
-            self.set_capabilities_defaults()
36f1ba
         domcaps = self.lookup_domcaps()
36f1ba
 
36f1ba
         if not domcaps.supports_uefi_xml():
36f1ba
-- 
36f1ba
2.23.0
36f1ba