snapshot might have multiple images base on the in the case of template and preview mode. We also plan to remove preview mode and make it that every snapshot can have multiple images base on it. This design can only be possible when using different qcow2 files.
I might not be understanding Dan as there are no plans to have libvirt do snapshotting (apart from live snapshots and even in that case vdsm's storage backend will be the one creating the actual storage target for the image).
----- Original Message -----
From: "Daniel P. Berrange" berrange@redhat.com To: "wangxiaofan" wangxiaofan@opzoon.com Cc: vdsm-devel@lists.fedorahosted.org Sent: Monday, January 30, 2012 9:10:38 AM Subject: Re: [vdsm] about snapshot
On Mon, Jan 30, 2012 at 10:08:19PM +0800, wangxiaofan wrote:
Hi there, Why does not vdsm use snapshot APIs of libvirt, or "qemu-img snapshot -c" ?
The snapshot APIs are a fairly recent addition to libvirt, whose design was in fact influenced strongly by VDSM's requirements. IIUC, the intent is for VDSM to switch over to the libvirt APIs at some point in the not too distant future.
Regards, 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 :| _______________________________________________ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/vdsm-devel