This even happens with the most common image-file backed disks which further simplifies the repro:
$ sudo qemu-img create -f qcow2 /var/lib/libvirt/images/test.qcow2 10M $ virsh attach-disk h /var/lib/libvirt/images/test.qcow2 vdc $ virsh detach-disk h vdc
This even happens with the most common image-file backed disks which further simplifies the repro:
$ sudo qemu-img create -f qcow2 /var/lib/ libvirt/ images/ test.qcow2 10M libvirt/ images/ test.qcow2 vdc
$ virsh attach-disk h /var/lib/
$ virsh detach-disk h vdc