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