b5fe754151
3c6e8537-guest-fix-warning-message-when-machine-type-is-changed-for-secure-boot.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=478
26 lines
999 B
Diff
26 lines
999 B
Diff
Subject: guest: fix warning message when machine type is changed for secure boot
|
|
From: Pavel Hrdina phrdina@redhat.com Mon Jul 8 10:44:43 2019 +0200
|
|
Date: Mon Jul 8 10:57:46 2019 +0200:
|
|
Git: 3c6e85375d0cd87dcf8ac70b41db0d899851338e
|
|
|
|
Introduced by commit <3586d1897>.
|
|
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1727811
|
|
|
|
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
|
|
|
diff --git a/virtinst/guest.py b/virtinst/guest.py
|
|
index ef227d17..41357644 100644
|
|
--- a/virtinst/guest.py
|
|
+++ b/virtinst/guest.py
|
|
@@ -586,7 +586,8 @@ class Guest(XMLBuilder):
|
|
self.os.loader_secure = True
|
|
if self.os.machine and "q35" not in self.os.machine:
|
|
log.warning("Changing machine type from '%s' to 'q35' "
|
|
- "which is required for UEFI secure boot.")
|
|
+ "which is required for UEFI secure boot.",
|
|
+ self.os.machine)
|
|
self.os.machine = "q35"
|
|
|
|
def disable_hyperv_for_uefi(self):
|