[pve-devel] [PATCH qemu-server 15/22] vm start/commandline: activate volumes before config_to_command()

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Mon Jun 16 13:31:22 CEST 2025


>>With '-blockdev', it is necessary to activate the volumes to generate
>>the command line, because it can be necessary to check whether the
>>volume is a block device or a regular file.

I was thinking about that, but do we have storage with activate_volume
need to be done for a regular file ?

for lvm plugin for example, we could return always driver=>host_device.

activate_volume is always done in specific plugin, so the plugin should
be able to tell if it's a block or file storage

only custom path passthrough in vm configuration need to be checked if
it's a file or device, but we don't have activate_volume anyway








More information about the pve-devel mailing list