mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-05 06:44:55 +00:00
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 <o.bektas@proxmox.com> Reviewed-by: Fabian Ebner <f.ebner@proxmox.com> Tested-by: Fabian Ebner <f.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2db2ecc69a
commit
bec8742495
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user