[Libguestfs] [PATCH] New API: list-mddevices
Matthew Booth
mbooth at redhat.com
Wed Nov 9 16:40:48 UTC 2011
Return a list of Linux MD devices detected in the guest.
---
daemon/Makefile.am | 1 +
daemon/daemon.h | 1 +
daemon/guestfsd.c | 23 ++++++++---
daemon/md.c | 75 ++++++++++++++++++++++++++++++++++++
generator/generator_actions.ml | 10 +++++
regressions/Makefile.am | 1 +
regressions/test-list-mddevices.sh | 59 ++++++++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
8 files changed, 164 insertions(+), 8 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: 7639 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111109/d40c8845/attachment.bin>
More information about the Libguestfs
mailing list