[libvirt-users] Clone disk image common ancestry/branching.

Mestnik, Michael J - Eagan, MN - Contractor Michael.J.Mestnik at usps.gov
Tue Dec 4 16:12:57 UTC 2012


Hello,
  I was wondering if it was possible to support or easily extent libvirt to perform steps like the following when cloning:
# Any existing VMs must be paused or better.
ln $currentimg backing-store.img
qemu-img create -o backing-store.img $currentimg.tmp
qemu-img create -o backing-store.img $newimg
# Get any existing VM using $currentimg.tmp
mv $currentimg.tmp $currentimg

The idea being to create branches of an installs ancestry rather than simply duplicating the install.

Cheers.

Mike Mestnik, Michael J
The ESM Tools
Enterprise Systems Monitoring
United States Postal Service
 O: (651) 406-2048
Michael.J.Mestnik at usps.gov
ITEnterpriseSystemsMonitoring at usps.gov






More information about the libvirt-users mailing list