On 04/19/2013 09:30 AM, Peter Krempa wrote:
Until now tranisent networks weren't really useful as libvirtd
wasn't
able to remember them across restarts. This patch adds support for
loading status files of transient networks (that already were generated)
so that the status isn't lost.
This patch chops up virNetworkObjUpdateParseFile and turns it into
virNetworkLoadState and a few friends that will help us to load status
XMLs and refactors the functions that are loading the configs to use
them.
---
Notes:
Version 2:
- renamed confDir to statusDir
- clarified comment about goto
- removed check if bridge name is present in XML
- switched removal of inactive transient networks to while loop to avoid re-iteration
ACK.