]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for network device detach
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:07 +0000 (11:34 +0100)
commitc2709cdaaa9d8f02325584aac24a7dad3534abc8
tree62f0875a7f0d025ae678bb8926df041e2c504c24
parent4e21a95afe34b8c7c40c1cb6cfc5cb000592e185
Add support for network device detach

qemu network devices are hot-unplugged in two stages - first the PCI NIC
is removed using 'pci_del <pci_addr>' and then the backend is removed
using 'host_net_remove <vlan> <name>'.

In order to perform these operations we need to have retained the
PCI address, backend name and vlan number.

* src/qemu_driver.c: add qemudDomainDetachNetDevice()
src/qemu_driver.c