]> xenbits.xensource.com Git - libvirt.git/commit
network: utility functions for updating network config
authorLaine Stump <laine@laine.org>
Fri, 14 Sep 2012 15:35:35 +0000 (11:35 -0400)
committerLaine Stump <laine@laine.org>
Tue, 18 Sep 2012 08:21:32 +0000 (04:21 -0400)
commitf36309d6885b4dc830ce6338b3c9613d9b8e7746
treef60c5bfae789c7d82d79476dd335497ef8b2571b
parent7a99b0abafb69e1686198ac3473892a9aaeb8255
network: utility functions for updating network config

These new functions are highly inspired by those in domain_conf.c (but
not identical), and are intended to make it simpler to update the
various combinations of live/persistent network configs.

The network driver wasn't previously as careful about the separation
between the live "status" in network->def and the persistent "config"
in network->newDef (or sometimes in network->def). This series
attempts to remedy some of that, but probably doesn't go all the way
(enough to get these functions working and enable continued work on
virNetworkUpdate though).

bridge_driver.c and test_driver.c were updated in a few places to take
advantage of the new functions and/or account for changes in argument
lists.
src/conf/network_conf.c
src/conf/network_conf.h
src/libvirt_private.syms
src/network/bridge_driver.c
src/test/test_driver.c