No description
Find a file
Fiona Ebner 46d1225ec1 drive device: fix regression with missing '/dev/disk/by-id' paths
With the switch to '-blockdev', it is necessary to explicitly specify
the device ID for SCSI drives, see also [0]. Otherwise, the device
paths in '/dev/disk/by-id' would be missing. For IDE/SATA, the paths
are still present with '-blockdev' without additional changes and
VirtIO block did not have such paths even before. The relevant
'ide-{cd,hd}' and 'virtio-blk-pci' devices do not seem to have an
option that would be equivalent to the 'scsi-{cd,hd}' 'device_id'
option.

While the change should be backwards-compatible even with '-drive',
guard it with machine version 10.0 just to be sure.

[0]: a1dce96236

Fixes: aaf48d8e ("command line: switch to blockdev starting with machine version 10.0")
Co-developed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250723111105.72422-1-f.ebner@proxmox.com
2025-07-23 15:14:49 +02:00
debian bump version to 9.0.6 2025-07-22 18:17:29 +02:00
src drive device: fix regression with missing '/dev/disk/by-id' paths 2025-07-23 15:14:49 +02:00
.gitignore gitignore: sort content 2023-11-17 15:54:24 +01:00
Makefile adopt perltidy also for executables without perl extension 2025-07-02 22:47:05 +02:00