]> xenbits.xensource.com Git - libvirt.git/commit
network: Create real network status files
authorMichal Privoznik <mprivozn@redhat.com>
Sun, 18 Nov 2012 15:59:21 +0000 (16:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 11 Dec 2012 17:42:54 +0000 (18:42 +0100)
commitae757743dc9d5d9f9cf6a9105f5856b395819986
tree41c946f95b36d1872853dd4db1b62d063aa06a3d
parent07d1b6b5b1d8c81c15d9ce3d6c420c74eb74ae72
network: Create real network status files

Currently, we are only keeping a inactive XML configuration
in status dir. This is no longer enough as we need to keep
this class_id attribute so we don't overwrite old entries
when the daemon restarts. However, since there has already
been release which has just <network/> as root element,
and we want to keep things compatible, detect that loaded
status file is older one, and don't scream about it.
src/conf/network_conf.c
src/conf/network_conf.h
src/libvirt_private.syms
src/network/bridge_driver.c