[pve-devel] [RFC storage 1/3] plugin: add method to get qemu blockdevice options for volume

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Fri May 23 11:15:43 CEST 2025


>>Good point! I guess it's better to also do the activation in qemu-
>>server
>>then, so that we can match it up nicely without going over package
>>boundaries.

Ok, I'll add the activate in qemu-server too



Just found another bug:

PVE/Storage.pm 

sub qemu_blockdev_options {
    my ($cfg, $volid, $snapname) = @_;

    my ($storeid, $volname) = parse_volume_id($volid);


This fail with $volid=/dev/cdrom   (with ide2:cdrom)
# got unexpected error: unable to parse volume ID 'cdrom'

and maybe (not have tested it) , if user have configured manually dev
passthrough like : "scsi1: /dev/...."






More information about the pve-devel mailing list