Re: [pve-devel] [PATCH v5 qemu-server 1/10] qemuserver: foreach_volid: include pending volumes

2023-06-19 Thread Fiona Ebner
Am 19.06.23 um 11:29 schrieb Aaron Lauterer: > > @@ -4876,11 +4876,13 @@ sub foreach_volid { > $volhash->{$volid}->{shared} = 1 if $drive->{shared}; > > $volhash->{$volid}->{referenced_in_config} //= 0; > - $volhash->{$volid}->{referenced_in_config} = 1 if !defined($snapname); >

[pve-devel] [PATCH v5 qemu-server 1/10] qemuserver: foreach_volid: include pending volumes

2023-06-19 Thread Aaron Lauterer
Make it possible to optionally iterate over disks in the pending section of VMs, similar as to how snapshots are handled already. This is for example useful in the migration if we don't want to rely on the scanning of all storages. All calling sites are adapted and enable it, except for QemuConfi