From bec8742495a7e7f1f981d3a003bcdce0a78a2c27 Mon Sep 17 00:00:00 2001 From: Oguz Bektas Date: Thu, 11 Nov 2021 13:05:58 +0100 Subject: [PATCH] cfg2cmd: disable SMM when display=none and SeaBIOS is both used issue reported in community forum [0][1], like "serial[n]" display we also need to set this option for "none", otherwise we get a boot loop. [0]: https://forum.proxmox.com/threads/99508 [1]: https://forum.proxmox.com/threads/97310/post-427129 Signed-off-by: Oguz Bektas Reviewed-by: Fabian Ebner Tested-by: Fabian Ebner Signed-off-by: Thomas Lamprecht --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index fd1f6a74..8c55dbcf 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3410,7 +3410,7 @@ my sub should_disable_smm { my ($conf, $vga) = @_; return (!defined($conf->{bios}) || $conf->{bios} eq 'seabios') && - $vga->{type} && $vga->{type} =~ m/^serial\d+$/; + $vga->{type} && $vga->{type} =~ m/^(serial\d+|none)$/; } sub config_to_command {