On 05/02/2014 03:56 AM, Daniel P. Berrange wrote:
On Thu, May 01, 2014 at 08:06:19PM -0400, Tomoki Sekiyama wrote:
> With this patch, virDomainFSFreeze will pass the mountpoints argument
> to qemu guest agent. For example,
>
> virDomainFSFreeze(dom, {"/mnt/vol1", "/mnt/vol2"}, 2, 0)
>
> will issue qemu guest agent command:
>
> {"execute":"guest-fsfreeze-freeze",
>
"arguments":{"mountpoints":["/mnt/vol1","/mnt/vol2"]}}
>
> Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama(a)hds.com>
> Acked-by: Daniel P. Berrange <berrange(a)redhat.com>
> ---
> src/qemu/qemu_agent.c | 47 +++++++++++++++++++++++++++++++++++++++++++----
> src/qemu/qemu_agent.h | 3 ++-
> src/qemu/qemu_driver.c | 16 ++++++----------
> tests/qemuagenttest.c | 8 +++++---
> 4 files changed, 56 insertions(+), 18 deletions(-)
ACK
Pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org