]> xenbits.xensource.com Git - libvirt.git/commit
Fix network hotplug to use device_add in QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 16 Apr 2010 10:46:38 +0000 (11:46 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 19 Apr 2010 11:11:30 +0000 (12:11 +0100)
commitf3e098f3d8ec3e605e92dce72e0d981667f849b6
tree7edcdc4a37cb794d793c1d6886b0c31f9ffb46f6
parent9417eb0337c11da95da7c235c60abf9131d5d081
Fix network hotplug to use device_add in QEMU

The initial boot of VMs uses -device for NICs where available. The
corresponding monitor command is device_add, but the network hotplug
code was still using device_del by mistake.

* src/qemu/qemu_driver.c: Use device_add for NIC hotplug where
  available
src/qemu/qemu_driver.c