[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 14/16] network: Adjust virNetworkObjNew call and return



On Fri, May 19, 2017 at 09:03:22AM -0400, John Ferlan wrote:
> Have the call take a virNetworkDefPtr and save it in the object.
> 
> Have virNetworkObjNew return a locked obj
> 
> Avoids the need for a virNetworkObjSetDef type API for the one test need.
> Update the test code and do some other name changes to make it look like
> other code.

As it was already objected, I would rather have the
virNetworkObjSetDef() API instead of requiring to have the @def as
argument for virNetworkObjNew().  It give us more flexibility.

Pavel

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]