[Libguestfs] [PATCH 1/2] New API: list_md_devices
Matthew Booth
mbooth at redhat.com
Thu Nov 10 14:19:11 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 | 75 +++++++++++++++++++++++++++++++++++
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, 165 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: 7912 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111110/597a0235/attachment.bin>
More information about the Libguestfs
mailing list