Is there a possibility to create 2(or more) different overlays from one base image using libvirt API ?
FedoraBase.img <-- FedoraGuest1.qcow2
\
<-- FedoraGuest2.qcow2
So FedoraBase is backing image for Guest1 and Guest2 overlays...
Using qemu-img tool you can create it like this:
qemu-img create -b /export/vmimages/FedoraBase.img -f qcow2 \
/export/vmimages/FedoraGuest1.qcow2
qemu-img create -b /export/vmimages/FedoraBase.img -f qcow2 \
/export/vmimages/FedoraGuest2.qcow2
But I can not find any libvirt API doing the same.