]> xenbits.xensource.com Git - libvirt.git/commit
Basic qemu NIC hotplug support
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)
commit35153940e3b14402366f219fa1a6f9363c485d85
tree282c615b59a80240bd7c981977bcd135813b5589
parent423af1977f2ace881ef7ba54fc362d766f9e3f1f
Basic qemu NIC hotplug support

Implement basic NIC hotplug support using the 'host_net_add' and
'pci_add' qemu monitor commands.

For now, we don't support 'bridge' or 'network' types.

Also, if pci_add fails, we currently fail to remove the backend
which we added.

Finally, NIC hot-unplug support is missing.

* src/qemu_driver.c: add qemudDomainAttachNetDevice()

* src/qemu_conf.[ch]: export qemuBuildNicStr(), qemuBuildHostNetStr()
  and qemuAssignNames()

* src/libvirt_private.syms: export virDomainNetTypeToString()
src/libvirt_private.syms
src/qemu_conf.c
src/qemu_conf.h
src/qemu_driver.c