]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add NIC and hostnet names to domain state XML
authorMark McLoughlin <markmc@redhat.com>
Fri, 17 Jul 2009 21:08:34 +0000 (22:08 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 22 Jul 2009 10:34:06 +0000 (11:34 +0100)
commit36c820e6c8acf5a0c74d89817bf42240c541b10d
tree73db8f1c8293d1f902d074b9e8d5d86e41ef2577
parentc23dae4e5c7f496edbad121e81a65e4ae928a318
Add NIC and hostnet names to domain state XML

The qemu driver needs to assign and keep track of identifiers for
network devices so that it can remove them. We need to keep this state
across libvirtd restarts, but it's not configuration that needs to
be kept across guest restarts.

* src/domain_conf.c: parse and format <state nic="foo" hostnet="bar"/>
src/domain_conf.c