]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: remove stale function
authorLaine Stump <laine@laine.org>
Thu, 10 Jan 2019 00:42:41 +0000 (19:42 -0500)
committerLaine Stump <laine@laine.org>
Fri, 25 Jan 2019 16:01:05 +0000 (11:01 -0500)
commit43be65a4817fcd1583776368999c034540dfaa57
tree3249f191d70ffc0f3e859da16a03182d6dbbee99
parent484370dcf1c927ee73b0f278d0ff6065747a9a42
network: remove stale function

networkMigrateStateFiles was added nearly 5 years ago when the network
state directory was moved from /var/lib/libvirt to /var/run/libvirt
just prior to libvirt-1.2.4). It was only required to maintain proper
state information for networks that were active during an upgrade that
didn't involve rebooting the host. At this point the likelyhood of
anyone upgrading their libvirt from pre-1.2.4 directly to 5.0.0 or
later *without rebooting the host* is probably so close to 0 that no
properly informed bookie would take *any* odds on it happening, so it
seems appropriate to remove this pointless code.

Signed-off-by: Laine Stump <laine@laine.org>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/network/bridge_driver.c