mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 19:45:52 +00:00
cfg2cmd: replace deprecated no-acpi option with acpi=off machine flag
like the deprecation message printed by QEMU suggests. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e35eb8766b
commit
0f704640be
@ -3848,7 +3848,7 @@ sub config_to_command {
|
||||
|
||||
push @$cmd, '-boot', "menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg";
|
||||
|
||||
push @$cmd, '-no-acpi' if defined($conf->{acpi}) && $conf->{acpi} == 0;
|
||||
push $machineFlags->@*, 'acpi=off' if defined($conf->{acpi}) && $conf->{acpi} == 0;
|
||||
|
||||
push @$cmd, '-no-reboot' if defined($conf->{reboot}) && $conf->{reboot} == 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user