Re: [PATCH 01/45] list: Define new API virStorageListAllStoragePools | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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@xxxxxxxxxx +1-919-301-3266
Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list
[Virt Tools] [Libvirt Users] [Fedora Users] [Fedora Legacy] [Fedora Maintainers] [Fedora Desktop] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]