qemu-server/PVE
Stefan Reiter deb734e348 api: always add new CD drives to bootorder
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@proxmox.com>
2021-07-23 11:04:19 +02:00
..
API2 api: always add new CD drives to bootorder 2021-07-23 11:04:19 +02:00
CLI cli tools: correctly handle warnings task status 2021-06-23 12:26:49 +02:00
QemuServer drive: factor out read-only helper 2021-06-23 12:27:54 +02:00
VZDump vzdump: add master key support 2021-06-02 16:49:00 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm snapshot: set migration caps before savevm-start 2021-03-16 20:44:51 +01:00
QemuMigrate.pm allow migrating raw btrfs volumes 2021-06-23 12:26:40 +02:00
QemuServer.pm live-restore: fail early if target storage doesn't exist 2021-07-23 11:04:15 +02:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00