[Libguestfs] [PATCH] New API: list-mddevices

Matthew Booth mbooth at redhat.com
Wed Nov 9 14:44:48 UTC 2011


Return a list of Linux MD devices detected in the guest.
---
 appliance/packagelist.in           |    2 +
 daemon/Makefile.am                 |    4 +-
 daemon/daemon.h                    |    1 +
 daemon/guestfsd.c                  |   23 ++++++---
 daemon/md.c                        |   95 ++++++++++++++++++++++++++++++++++++
 generator/generator_actions.ml     |   10 ++++
 regressions/test-list-mddevices.sh |   43 ++++++++++++++++
 src/MAX_PROC_NR                    |    2 +-
 8 files changed, 171 insertions(+), 9 deletions(-)
 create mode 100644 daemon/md.c
 create mode 100755 regressions/test-list-mddevices.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-API-list-mddevices.patch
Type: text/x-patch
Size: 8225 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111109/7ac549e6/attachment.bin>


More information about the Libguestfs mailing list