cloud-hypervisor/pci/src
Henry Wang cf68f03ab6 pci: vfio: Skip IOBAR allocation on AArch64
AArch64 does not use IOBAR, and current code of panics the whole VMM if
we need to allocate the IOBAR.

This commit checks if IOBAR is enabled before the arch conditional code
of IOBAR allocation and if the IOBAR is not enabled, we can just skip
the IOBAR allocation and do nothing.

Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/3479

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
2022-01-18 18:00:00 -08:00
..
bus.rs vmm: Use PciBdf throughout in order to remove manual bit manipulation 2021-11-02 16:55:42 +00:00
configuration.rs pci: Fix clippy (return_self_not_must_use) issue 2022-01-07 08:16:26 -08:00
device.rs vmm, pci: Fix potential deadlock in PCI BAR allocation 2022-01-06 09:59:36 +01:00
lib.rs pci: Introduce PciBdf struct with accessors 2021-11-02 16:55:42 +00:00
msi.rs clippy: Fix redundant allocations 2021-07-29 13:28:57 +02:00
msix.rs pci: slightly change safety comment style 2021-11-17 14:40:51 +00:00
vfio_user.rs vmm, pci: Fix potential deadlock in PCI BAR allocation 2022-01-06 09:59:36 +01:00
vfio.rs pci: vfio: Skip IOBAR allocation on AArch64 2022-01-18 18:00:00 -08:00