[libvirt] [PATCH v7 6/6] qemu: Support mountpoints option of guest-fsfreeze-freeze

Eric Blake eblake at redhat.com
Tue May 13 03:26:33 UTC 2014


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 at hds.com>
>> Acked-by: Daniel P. Berrange <berrange at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140512/9c6a7c5e/attachment-0001.sig>


More information about the libvir-list mailing list