Re: [libvirt] [RFC] Live disk snapshot API

2011-01-11 Thread Daniel P. Berrange
On Mon, Jan 10, 2011 at 07:34:20PM +, Daniel P. Berrange wrote: On Mon, Jan 10, 2011 at 06:36:57PM +, Daniel P. Berrange wrote: On Thu, Jan 06, 2011 at 02:27:14PM +0100, Jiri Denemark wrote: To create a snapshot of a disk, the following API is introduced: int

Re: [libvirt] [RFC] Live disk snapshot API

2011-01-10 Thread Daniel P. Berrange
On Thu, Jan 06, 2011 at 02:27:14PM +0100, Jiri Denemark wrote: As different snapshot methods may require different input data, new diskSnapshot XML element is introduced to describe disk snapshot method: diskSnapshot method='qemu|lvm|btrfs|...' !-- required data depending on the

[libvirt] [RFC] Live disk snapshot API

2011-01-06 Thread Jiri Denemark
Hi all. Purpose of this API is to help with making host-side backups of running domains without having to suspend them until backup finishes. The API can be used to create a consistent snapshot of a disk assigned to a domain, which can be later used for making backups. For better consistency,

Re: [libvirt] [RFC] Live disk snapshot API

2011-01-06 Thread Eric Blake
On 01/06/2011 07:37 AM, Nicolas Sebrecht wrote: The 06/01/11, Jiri Denemark wrote: Disk snapshot API needs to be general and flexible enough to support various storage and snapshot methods. Examples of what can be used for creating disk snapshots are: QEMU qcow2 snapshots, LVM snapshots,