summaryrefslogtreecommitdiff
path: root/hw/virtio-pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-16 12:54:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-21 15:40:50 -0500
commit0e47931b88a2352ecfdf21bb99256f399952544d (patch)
tree44f105611ceebfbf8257840f2f8c027acbf07a7a /hw/virtio-pci.c
parentf34e73cd69bdbdb9b1d56b288c5e14d6fff58165 (diff)
downloadqemu-0e47931b88a2352ecfdf21bb99256f399952544d.tar.gz
qemu-0e47931b88a2352ecfdf21bb99256f399952544d.tar.bz2
qemu-0e47931b88a2352ecfdf21bb99256f399952544d.zip
virtio-blk: blockdev_mark_auto_del is transport-independent
Move it from virtio_blk_exit_pci to virtio_blk_exit. This is included here because the next patch removes proxy->block. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-pci.c')
-rw-r--r--hw/virtio-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 8a931ced24..f2f4153ade 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -726,7 +726,6 @@ static int virtio_blk_exit_pci(PCIDevice *pci_dev)
virtio_pci_stop_ioeventfd(proxy);
virtio_blk_exit(proxy->vdev);
- blockdev_mark_auto_del(proxy->block.bs);
return virtio_exit_pci(pci_dev);
}