[libvirt] [PATCH 1/6] list: Define new API virStoragePoolListAllVolumes

Peter Krempa pkrempa at redhat.com
Fri Sep 7 13:28:57 UTC 2012


On 09/04/12 17:32, Osier Yang wrote:
> Simply returns the storage volume objects. No supported filter
> flags.
>
> include/libvirt/libvirt.h.in: Declare the API
> python/generator.py: Skip the function for generating. virStoragePool.py
>                       will be added in later patch.
> src/driver.h: virDrvStoragePoolListVolumesFlags
> src/libvirt.c: Implementation for the API.
> src/libvirt_public.syms: Export the symbol to public
> ---
>   include/libvirt/libvirt.h.in |    3 ++
>   python/generator.py          |    1 +
>   src/driver.h                 |    6 ++++-
>   src/libvirt.c                |   50 ++++++++++++++++++++++++++++++++++++++++++
>   src/libvirt_public.syms      |    1 +
>   5 files changed, 60 insertions(+), 1 deletions(-)
>

Maybe there are some properties that we could use to filter storage 
volumes, but those can also be added later. This patch looks OK so ACK 
if nobody else objects.

Peter




More information about the libvir-list mailing list