]> git.proxmox.com Git - qemu-server.git/commit
nic hot-unplug: delete netdev after device removal
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 6 Mar 2013 14:48:59 +0000 (15:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 7 Mar 2013 07:37:23 +0000 (08:37 +0100)
commit750886f87a9918c4471c7ce216b5b3689053e5a7
treee064fb38353610ce5cd5e7626be389d6946c3d00
parentde8f60b2525f72a8ad169f129bdaa0fc87deae4c
nic hot-unplug: delete netdev after device removal

Currently we delete netdev before acpi hot-unplug.

if guest don't support hotplug, this break network.

We need to remove netdev after the device had be correctly unplug.(we check that device has been correctly removed)
So, If guest don't support hotplug, It's simply thrown a unplug error message without breaking the network

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm