Revision 5a1fc5e8 hw/virtio-pci.c
b/hw/virtio-pci.c | ||
---|---|---|
411 | 411 |
|
412 | 412 |
config[0x3d] = 1; |
413 | 413 |
|
414 |
if (vdev->nvectors && !msix_init(&proxy->pci_dev, vdev->nvectors, 1, 0, |
|
415 |
TARGET_PAGE_SIZE)) { |
|
414 |
if (vdev->nvectors && !msix_init(&proxy->pci_dev, vdev->nvectors, 1, 0)) { |
|
416 | 415 |
pci_register_bar(&proxy->pci_dev, 1, |
417 | 416 |
msix_bar_size(&proxy->pci_dev), |
418 | 417 |
PCI_ADDRESS_SPACE_MEM, |
Also available in: Unified diff