[libvirt] [PATCH 10/19] storage: Create accessor API's for virStoragePoolObj

Pavel Hrdina phrdina at redhat.com
Fri Jul 14 13:55:16 UTC 2017


On Tue, May 09, 2017 at 11:30:17AM -0400, John Ferlan wrote:
> In preparation for making a private object, create accessor API's for
> consumer storage functions to use:
> 
>     virStoragePoolObjGetDef
>     virStoragePoolObjGetNewDef
>     virStoragePoolObjStealNewDef
>     virStoragePoolObjGetConfigFile
>     virStoragePoolObjSetConfigFile
>     virStoragePoolObjIsActive
>     virStoragePoolObjSetActive
>     virStoragePoolObjGetAsyncjobs
>     virStoragePoolObjIncrAsyncjobs
>     virStoragePoolObjDecrAsyncjobs
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/conf/virstorageobj.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/conf/virstorageobj.h | 36 +++++++++++++++++++----
>  src/libvirt_private.syms | 10 +++++++
>  3 files changed, 115 insertions(+), 5 deletions(-)

Base on the review of following patches we need to add one more accessor
virStoragePoolObjGetAutostartLink().

The rest is OK.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170714/07246995/attachment-0001.sig>


More information about the libvir-list mailing list