[pve-devel] applied: [PATCH qemu-server] api: always add new CD drives to bootorder
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jul 23 11:05:54 CEST 2021
On 05.07.21 11:14, Stefan Reiter wrote:
> Attaching an ISO image to a VM is usually/often done for two reasons:
> * booting an installer image
> * supplying additional drivers to an installer (e.g. virtio)
>
> Both of these cases (the latter at least with SeaBIOS and the Windows
> installer) require the disk to be marked as bootable.
>
> For this reason, enable the bootable flag for all new CDROM drives
> attached to a VM by adding it to the bootorder list. It is appended to
> the end, as otherwise it would cause new drives to boot before already
> existing boot targets, which would be a more grave (and IMO bad)
> behaviour change.
>
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> PVE/API2/Qemu.pm | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>
applied, thanks!
More information about the pve-devel
mailing list