[libvirt] [PATCH 01/45] list: Define new API virStorageListAllStoragePools
Eric Blake
eblake at redhat.com
Fri Aug 17 20:09:52 UTC 2012
On 08/17/2012 09:38 AM, Osier Yang wrote:
> This introduces a new API to list the storage pool objects,
> 4 groups of flags are provided to filter the returned pools:
>
> * Active or not
>
> * Autostarting or not
>
> * Persistent or not
>
> * And the pool type.
>
> include/libvirt/libvirt.h.in: New enum virConnectListAllStoragePoolFlags;
> Declare the API.
> python/generator.py: Skip the generating
> src/driver.h: (virDrvConnectListAllStoragePools)
> src/libvirt.c: Implementation for the API.
> src/libvirt_public.syms: Export the symbol.
> ---
> include/libvirt/libvirt.h.in | 33 ++++++++++++
> python/generator.py | 5 +-
> src/driver.h | 5 ++
> src/libvirt.c | 112 +++++++++++++++++++++++++++++++++++++++---
> src/libvirt_public.syms | 1 +
> 5 files changed, 146 insertions(+), 10 deletions(-)
> +++ b/src/libvirt_public.syms
> @@ -549,6 +549,7 @@ LIBVIRT_0.10.0 {
> virDomainGetHostname;
> virConnectRegisterCloseCallback;
> virConnectUnregisterCloseCallback;
> + virConnectListAllStoragePools;
> } LIBVIRT_0.9.13;
I tend to sort these blocks, but it was already unsorted before you got
here :)
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120817/2e0b0472/attachment-0001.sig>
More information about the libvir-list
mailing list