virtio-pci: fix hot unplug.
commit10479a80893fb2666026ce0fea2251be3070b6e2
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 18 Mar 2013 16:37:20 +0000 (18 17:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 18 Mar 2013 18:08:39 +0000 (18 13:08 -0500)
treeea902ad6f540bce7d848ff075ced2eed60cd3abd
parentcbd19063e75c64ac5e4029f76198c7ba65a63b00
virtio-pci: fix hot unplug.

Hot unplug failed because it tried to free the virtio device two times.

This fix the issue by removing the call to virtio_bus_destroy_device.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-id: 1363624648-16906-4-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c