[pve-devel] [PATCH qemu-server] refuse to add non-replicatable disks to replicating VMs

2017-06-26 Thread Wolfgang Bumiller
Unless replication is explicitly disabled for them. Unfortunately for new disks we can only do this after it has been created due to the volume_has_feature() interface requiring a volume name. --- PVE/API2/Qemu.pm | 12 1 file changed, 12 insertions(+) diff --git a/PVE/API2/Qemu.pm

Re: [pve-devel] [PATCH qemu-server] refuse to add non-replicatable disks to replicating VMs

2017-06-26 Thread Dietmar Maurer
> Unfortunately for new disks we can only do this after it has > been created due to the volume_has_feature() interface > requiring a volume name. I added a new helper PVE::Storage::storage_can_replicate() Please can you try to use that? ___ pve-deve