mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-20 22:50:16 +03:00
guest: Use is_q35 helper in UEFI secboot check
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
0c2cb36475
commit
ceeae705c2
@ -543,7 +543,7 @@ class Guest(XMLBuilder):
|
||||
"secboot" in self.os.loader):
|
||||
self.features.smm = True
|
||||
self.os.loader_secure = True
|
||||
if self.os.machine and "q35" not in self.os.machine:
|
||||
if not self.os.is_q35():
|
||||
log.warning("Changing machine type from '%s' to 'q35' "
|
||||
"which is required for UEFI secure boot.",
|
||||
self.os.machine)
|
||||
|
Loading…
x
Reference in New Issue
Block a user