diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-29 19:03:37 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-07 11:22:52 +0100 |
commit | 6aa281b7e8ca4f63dd5d5750184352ecd6e68fda (patch) | |
tree | e13bc7bf3ef7c315fe0e83e2affa2c7536023b6e /src | |
parent | 8deae6d2cc27f84d8b1c7112de2b41a2346670b8 (diff) | |
download | libguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.tar.gz libguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.tar.xz libguestfs-6aa281b7e8ca4f63dd5d5750184352ecd6e68fda.zip |
New API: guestfs_nr_devices
This returns the number of whole block devices added. It is usually
simpler to call this than to list the devices and count them, which
is what we do in some places in the current codebase.
(cherry picked from commit 152b179a19e43fcb0baec65ea65d394ee1dba891)
Diffstat (limited to 'src')
-rw-r--r-- | src/MAX_PROC_NR | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 3d9988ad..e64f24d5 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -335 +336 |