Revision 14bafc54 hw/virtio-pci.c
b/hw/virtio-pci.c | ||
---|---|---|
571 | 571 |
{ |
572 | 572 |
VirtIOPCIProxy *proxy = DO_UPCAST(VirtIOPCIProxy, pci_dev, pci_dev); |
573 | 573 |
|
574 |
drive_uninit(proxy->block.dinfo);
|
|
574 |
blockdev_mark_auto_del(proxy->block.dinfo->bdrv);
|
|
575 | 575 |
return virtio_exit_pci(pci_dev); |
576 | 576 |
} |
577 | 577 |
|
Also available in: Unified diff