[libvirt PATCH 2/6] conf: refactor virNetworkLoadState