[Libguestfs] [PATCH] New API: list_md_devices
Matthew Booth
mbooth at redhat.com
Thu Nov 10 15:53:59 UTC 2011
Return a list of Linux MD devices detected in the guest.
This API complements list_devices, list_partitions, list_lvs and
list_dm_devices.
---
daemon/Makefile.am | 1 +
daemon/daemon.h | 1 +
daemon/guestfsd.c | 23 ++++++---
daemon/md.c | 88 +++++++++++++++++++++++++++++++++++
generator/generator_actions.ml | 10 ++++
po/POTFILES.in | 1 +
regressions/Makefile.am | 1 +
regressions/test-list-md-devices.sh | 59 +++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
9 files changed, 178 insertions(+), 8 deletions(-)
create mode 100644 daemon/md.c
create mode 100755 regressions/test-list-md-devices.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-API-list_md_devices.patch
Type: text/x-patch
Size: 8237 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111110/1944baa4/attachment.bin>
More information about the Libguestfs
mailing list