diff options
Diffstat (limited to 'hw/pci-hotplug.c')
-rw-r--r-- | hw/pci-hotplug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 43675e2659..4da916cca1 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -136,6 +136,7 @@ static PCIDevice *qemu_pci_hot_add_storage(Monitor *mon, break; case IF_VIRTIO: dev = pci_create("virtio-blk-pci", devaddr); + qdev_prop_set_drive(&dev->qdev, "drive", dinfo); break; default: dev = NULL; |