cloud-hypervisor/pci
Sebastien Boeuf 37521ddff7 pci: vfio: Restore BARs in a more straightforward way
In case a list of resources is provided to allocate_bars(), it directly
means we're restoring some existing BARs. That's why we shouldn't share
the codepath that creates BARs from scratch as we don't need to interact
with the device to retrieve the information.

Whenever resources are provided, we simply iterate over the list of
possible BAR indexes and create the BARs if the resource could be found.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-04-19 12:54:09 -07:00
..
src pci: vfio: Restore BARs in a more straightforward way 2022-04-19 12:54:09 -07:00
Cargo.toml build: bump libc from 0.2.122 to 0.2.123 2022-04-13 10:13:32 +01:00