[libvirt] [PATCH v4] storage: List directory volumes for dir/fs/netfs pools

Eric Blake eblake at redhat.com
Tue May 31 16:45:24 UTC 2011


On 05/31/2011 10:03 AM, Cole Robinson wrote:
> Since directories can be used for <filesystem> passthrough, they are
> basically storage volumes.
> 
> v2:
>     Skip ., .., lost+found dirs
> 
> v3:
>     Use gnulib last_component
> 
> v4:
>     Use gnulib "dirname.h", not system <dirname.h>
>     Don't skip lost+found
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  src/storage/storage_backend.c    |   44 +++++++++++++++++++++++++++++++------
>  src/storage/storage_backend.h    |    7 +++++-
>  src/storage/storage_backend_fs.c |   14 ++++++++---
>  src/util/storage_file.c          |   30 +++++++++++++++++++++++++-
>  4 files changed, 82 insertions(+), 13 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110531/7da2b797/attachment-0001.sig>


More information about the libvir-list mailing list