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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux