public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH qemu-server] cfg2cmd: also set smm=off for "none" type display
@ 2021-11-11 12:05 Oguz Bektas
  2021-11-11 13:04 ` Fabian Ebner
  0 siblings, 1 reply; 2+ messages in thread
From: Oguz Bektas @ 2021-11-11 12:05 UTC (permalink / raw)
  To: pve-devel

issue reported in community forum [0]

like "serial[n]" display we also need to set this option for
"none", otherwise we get a boot loop like in [1].

[0]: https://forum.proxmox.com/threads/debian-vms-wont-start-anymore.99508
[1]: https://forum.proxmox.com/threads/pve-7-0-all-vms-with-cloud-init-seabios-fail-during-boot-process-bootloop-disk-not-found.97310/post-427129

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 9b76512..94576e1 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 {
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-11 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 12:05 [pve-devel] [PATCH qemu-server] cfg2cmd: also set smm=off for "none" type display Oguz Bektas
2021-11-11 13:04 ` Fabian Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal