Blame SOURCES/virt-manager-guest-fix-warning-message-when-machine-type-is-changed-for-secure-boot.patch

36f1ba
From 31d04f52cf61d0cc87291515d7a92d2db93b86e2 Mon Sep 17 00:00:00 2001
36f1ba
Message-Id: <31d04f52cf61d0cc87291515d7a92d2db93b86e2@dist-git>
36f1ba
From: Pavel Hrdina <phrdina@redhat.com>
36f1ba
Date: Mon, 8 Jul 2019 10:44:43 +0200
36f1ba
Subject: [PATCH] guest: fix warning message when machine type is changed for
36f1ba
 secure boot
36f1ba
36f1ba
Introduced by commit <3586d1897>.
36f1ba
36f1ba
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1727811
36f1ba
36f1ba
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
36f1ba
(cherry picked from commit 3c6e85375d0cd87dcf8ac70b41db0d899851338e)
36f1ba
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
36f1ba
---
36f1ba
 virtinst/guest.py | 3 ++-
36f1ba
 1 file changed, 2 insertions(+), 1 deletion(-)
36f1ba
36f1ba
diff --git a/virtinst/guest.py b/virtinst/guest.py
36f1ba
index ef227d17..41357644 100644
36f1ba
--- a/virtinst/guest.py
36f1ba
+++ b/virtinst/guest.py
36f1ba
@@ -586,7 +586,8 @@ class Guest(XMLBuilder):
36f1ba
             self.os.loader_secure = True
36f1ba
             if self.os.machine and "q35" not in self.os.machine:
36f1ba
                 log.warning("Changing machine type from '%s' to 'q35' "
36f1ba
-                        "which is required for UEFI secure boot.")
36f1ba
+                        "which is required for UEFI secure boot.",
36f1ba
+                        self.os.machine)
36f1ba
                 self.os.machine = "q35"
36f1ba
 
36f1ba
     def disable_hyperv_for_uefi(self):
36f1ba
-- 
36f1ba
2.21.0
36f1ba