]> git.proxmox.com Git - qemu-server.git/commit
api: add handling for new boot order format
authorStefan Reiter <s.reiter@proxmox.com>
Tue, 6 Oct 2020 13:32:16 +0000 (15:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Oct 2020 10:30:50 +0000 (12:30 +0200)
commit078c109faec901f9fc69ed578af68bde0aeacc25
tree2a67fbaeb13226721dff43522ae54d2c08df4af3
parent2141a802b843475be82e04d8c351d6f7cd1a339a
api: add handling for new boot order format

The API is updated to handle the deprecation correctly, i.e. when
updating the 'order' attribute, the old 'legacy' (default_key) values
are removed (would now be ignored anyway).

When removing a device that is in the bootorder list, it will be removed
from the aforementioned. Note that non-existing devices in the list will
not cause an error - they will simply be ignored - but it's still nice
to not have them in there.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/API2/Qemu.pm