Revision ac0c14d7 hw/virtio-pci.c
b/hw/virtio-pci.c | ||
---|---|---|
551 | 551 |
return -1; |
552 | 552 |
} |
553 | 553 |
vdev = virtio_blk_init(&pci_dev->qdev, &proxy->block); |
554 |
if (!vdev) { |
|
555 |
return -1; |
|
556 |
} |
|
554 | 557 |
vdev->nvectors = proxy->nvectors; |
555 | 558 |
virtio_init_pci(proxy, vdev, |
556 | 559 |
PCI_VENDOR_ID_REDHAT_QUMRANET, |
Also available in: Unified diff