Skip to contentSkip to conversation

virtio: add back call to virtio_bus_device_unplugged

PATCH Applied Paolo Bonzini 2 participants 2 messages Dec 20, 2013 – Jan 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio: add back call to virtio_bus_device_unplugged

This got lost in a rebase.

---
 hw/virtio/virtio.c | 2 ++
 1 file changed, 2 insertions(+)
hw/virtio/virtio.c +2 -0
index 144b9ca..a001e66 100644
@@ -1172,6 +1172,8 @@ static void virtio_device_unrealize(DeviceState *dev, Error **errp)
     VirtioDeviceClass *vdc = VIRTIO_DEVICE_GET_CLASS(dev);
     Error *err = NULL;
 
+    virtio_bus_device_unplugged(vdev);
+
     if (vdc->unrealize != NULL) {
         vdc->unrealize(dev, &err);
         if (err != NULL) {
Signature · 1 line
1.8.4.2