Home
last modified time | relevance | path

Searched refs:target_bar (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/vfio/
H A Dpci.c1450 int target_bar = -1; in vfio_pci_relocate_msix() local
1474 if (target_bar < 0) { in vfio_pci_relocate_msix()
1484 if (vdev->bars[target_bar].ioport) { in vfio_pci_relocate_msix()
1491 if (!vdev->bars[target_bar].size && in vfio_pci_relocate_msix()
1492 target_bar > 0 && vdev->bars[target_bar - 1].mem64) { in vfio_pci_relocate_msix()
1494 "consumed by 64-bit BAR %d", target_bar, target_bar - 1); in vfio_pci_relocate_msix()
1500 !vdev->bars[target_bar].mem64) { in vfio_pci_relocate_msix()
1511 if (!vdev->bars[target_bar].size) { in vfio_pci_relocate_msix()
1521 vdev->bars[target_bar].size = MAX(vdev->bars[target_bar].size * 2, in vfio_pci_relocate_msix()
1530 vdev->msix->table_bar = target_bar; in vfio_pci_relocate_msix()
[all …]