[libvirt] [PATCH 0/5] Guest filesystem information API

Tomoki Sekiyama tomoki.sekiyama at hds.com
Wed Oct 1 00:19:53 UTC 2014


Hi,

This series implements a new virDomainGetFSInfo API, that returns a list of
mounted filesystems information in the guest, collected via the guest agent.

The returned info contains mountpoints and disk device alias named in
libvirt, so we can know which mountpoints should be frozen by
virDomainFSFreeze to take snapshots of a part of disks.

---
Tomoki Sekiyama (5):
      Implement public API for virDomainGetFSInfo
      remote: Implement the remote protocol for virDomainGetFSInfo
      qemu: Implement the qemu driver for virDomainGetFSInfo
      qemu: add test for qemuAgentGetFSInfo
      virsh: expose virDomainGetFSInfo


 daemon/remote.c                          |  117 +++++++++++++++++++++
 include/libvirt/libvirt.h.in             |   21 ++++
 src/conf/domain_conf.c                   |   71 +++++++++++++
 src/conf/domain_conf.h                   |    6 +
 src/driver.h                             |    6 +
 src/libvirt.c                            |   68 ++++++++++++
 src/libvirt_private.syms                 |    1 
 src/libvirt_public.syms                  |    6 +
 src/qemu/qemu_agent.c                    |  165 ++++++++++++++++++++++++++++++
 src/qemu/qemu_agent.h                    |    2 
 src/qemu/qemu_driver.c                   |   48 +++++++++
 src/remote/remote_driver.c               |   87 ++++++++++++++++
 src/remote/remote_protocol.x             |   32 ++++++
 src/remote_protocol-structs              |   21 ++++
 src/rpc/gendispatch.pl                   |    1 
 tests/Makefile.am                        |    1 
 tests/qemuagentdata/qemuagent-fsinfo.xml |   27 +++++
 tests/qemuagenttest.c                    |  118 +++++++++++++++++++++
 tools/virsh-domain.c                     |   70 +++++++++++++
 19 files changed, 867 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuagentdata/qemuagent-fsinfo.xml

--

Tomoki Sekiyama




More information about the libvir-list mailing list