Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-04-02 Thread Tomoki Sekiyama
On 3/28/14 12:08 , Tomoki Sekiyama tomoki.sekiy...@hds.com wrote: On 3/27/14 20:32 , Eric Blake ebl...@redhat.com wrote: On 03/27/2014 05:54 PM, Tomoki Sekiyama wrote: This sounds reasonable for me to add disks parameters. I will try adding them in next version. Then the api will look like:

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-28 Thread Tomoki Sekiyama
On 3/27/14 20:32 , Eric Blake ebl...@redhat.com wrote: On 03/27/2014 05:54 PM, Tomoki Sekiyama wrote: This sounds reasonable for me to add disks parameters. I will try adding them in next version. Then the api will look like: int virDomainFSFreeze(virDomainPtr dom, char** disks, int ndisks,

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Jon Bernard
* Tomoki Sekiyama tomoki.sekiy...@hds.com wrote: Hello, This is patchset v4 to add FSFreeze/FSThaw API for custom disk snapshotting. This patchset works for my tests. Without pausing the guest I am able to quiesce all attached volumes. Does there exists an option to create a snapshot of

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Eric Blake
On 03/27/2014 04:21 PM, Jon Bernard wrote: * Tomoki Sekiyama tomoki.sekiy...@hds.com wrote: Hello, This is patchset v4 to add FSFreeze/FSThaw API for custom disk snapshotting. This patchset works for my tests. Without pausing the guest I am able to quiesce all attached volumes. Does

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Jon Bernard
* Eric Blake ebl...@redhat.com wrote: On 03/27/2014 04:21 PM, Jon Bernard wrote: * Tomoki Sekiyama tomoki.sekiy...@hds.com wrote: Hello, This is patchset v4 to add FSFreeze/FSThaw API for custom disk snapshotting. This patchset works for my tests. Without pausing the guest I am

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Eric Blake
On 03/27/2014 04:48 PM, Jon Bernard wrote: One thing comes to mind: once volumes are quiesced, qemu-img could be used directly to create the snapshot. In the case of iSCSI-attached volumes, a remote snapshot command could be issued to create a snapshot. Once all have completed the guest

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Tomoki Sekiyama
On 3/27/14 18:27 , Eric Blake ebl...@redhat.com wrote: On 03/27/2014 04:21 PM, Jon Bernard wrote: * Tomoki Sekiyama tomoki.sekiy...@hds.com wrote: Hello, This is patchset v4 to add FSFreeze/FSThaw API for custom disk snapshotting. This patchset works for my tests. Without pausing the

Re: [libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-27 Thread Eric Blake
On 03/27/2014 05:54 PM, Tomoki Sekiyama wrote: This sounds reasonable for me to add disks parameters. I will try adding them in next version. Then the api will look like: int virDomainFSFreeze(virDomainPtr dom, char** disks, int ndisks, unsigned int flags); and int

[libvirt] [PATCH v4 0/5] Expose FSFreeze/FSThaw within the guest as API

2014-03-26 Thread Tomoki Sekiyama
Hello, This is patchset v4 to add FSFreeze/FSThaw API for custom disk snapshotting. Changes to v3: * fix typp and label spacing * rebased to recent tree (v3: http://www.redhat.com/archives/libvir-list/2014-March/msg01358.html ) === Description === Currently FSFreeze and FSThaw are supported