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.c1452 int target_bar = -1; in vfio_pci_relocate_msix() local
1476 if (target_bar < 0) { in vfio_pci_relocate_msix()
1482 target_bar = (int)(vdev->msix_relo - OFF_AUTO_PCIBAR_BAR0); in vfio_pci_relocate_msix()
1486 if (vdev->bars[target_bar].ioport) { in vfio_pci_relocate_msix()
1488 "I/O port BAR", target_bar); in vfio_pci_relocate_msix()
1493 if (!vdev->bars[target_bar].size && in vfio_pci_relocate_msix()
1494 target_bar > 0 && vdev->bars[target_bar - 1].mem64) { in vfio_pci_relocate_msix()
1496 "consumed by 64-bit BAR %d", target_bar, target_bar - 1); in vfio_pci_relocate_msix()
1501 if (vdev->bars[target_bar].size > 1 * GiB && in vfio_pci_relocate_msix()
1502 !vdev->bars[target_bar].mem64) { in vfio_pci_relocate_msix()
[all …]