mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-26 17:29:54 +00:00
![]() The `media` option defaults to `disk` if not present, which attaches the drive read-write. This can be unexpected for ISO volumes. Hence, when constructing the QEMU command line, require that drives with ISO volumes explicitly set `media` and die if this is not the case. This breaks VM start and live-migration if such a drive is present, and hotplug for such drives. Users can fix this by editing the VM config to set `media` explicitly. Also add a cfg2cmd test for the error. Suggested-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Friedrich Weber <f.weber@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> |
||
---|---|---|
.. | ||
cfg2cmd | ||
MigrationTest | ||
restore-config-expected | ||
restore-config-input | ||
snapshot-expected | ||
snapshot-input | ||
Makefile | ||
run_config2command_tests.pl | ||
run_pci_addr_checks.pl | ||
run_qemu_img_convert_tests.pl | ||
run_qemu_migrate_tests.pl | ||
run_qemu_restore_config_tests.pl | ||
run_snapshot_tests.pl | ||
snapshot-test.pm | ||
test_get_replicatable_volumes.pl | ||
test.vmdk |