]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: implement NetworkObj backend of virNetworkUpdate API
authorLaine Stump <laine@laine.org>
Fri, 14 Sep 2012 19:14:57 +0000 (15:14 -0400)
committerLaine Stump <laine@laine.org>
Tue, 18 Sep 2012 08:21:32 +0000 (04:21 -0400)
commitd22f4badbc3b46e0b2c428a79035f204bdf9f593
tree4d5780ca3d4847a05cd5345bfc4c978853745e1d
parentf36309d6885b4dc830ce6338b3c9613d9b8e7746
conf: implement NetworkObj backend of virNetworkUpdate API

virNetworkObjUpdate takes care of all virNetworkUpdate-related changes
to the data stored in the in-memory virNetworkObj list. It should be
called by network drivers that use this in-memory list.

virNetworkObjUpdate *does not* take care of updating any disk-based
copies of the config, nor does it perform any other operations
necessary to have the new config data take effect (e.g. it won't
re-write dnsmasq host files, nor will it send a SIGHUP to dnsmasq) -
those things should all be taken care of in the network driver
function that calls virNetworkObjUpdate (assuming that it returns
success).
src/conf/network_conf.c
src/conf/network_conf.h
src/libvirt_private.syms