Re: [FYI] Skript to extract qcow2 snapshot info to libvirt snapshot xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 20, 2011 at 08:50:35AM +0200, Philipp Hahn wrote:
> Hello,
> 
> I sometimes get foreign qcow2 images with embedded snapshots. Without the 
> corresponding XML files libvirt doesn't recognize them. Therefor I created 
> the attached script to fake-create the missing snapshot XML files.
> Be advised that the XML files might not work in all cases, especially when the 
> configuration was changed between snapshots, but at least I prefer a solution 
> working 95% of the times instead of 0% ;-)
> And since I already wrote it, others might find it useful as well.

I wonder if we ought to put this in the libvirt source tree under
examples/ or something like that. Or turn it into a proper script
at tools/virt-qemu-import-snapshots ?

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]