cloud-hypervisor/pci/src
Sebastien Boeuf 2b150ac2ea pci, virtio-devices: Restore proper BAR type
When restoring a VM, the BAR type can be found directly from the
snapshot resources. It is more reliable than the previous method which
was using self.use_64bit_bar from VirtioPciDevice because at the time
the BARs are allocated, the VirtioDevice hasn't been restored yet,
meaning the way to determine the value of use_64bit_bar is wrong for a
device like vDPA. At this time, the device type is not known and relying
on the stored resources is the only reliable way.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-10-13 10:03:23 +02:00
..
bus.rs pci: Replace BAR tuple with PciBarConfiguration 2022-04-19 12:54:09 -07:00
configuration.rs pci: vfio: Filter out some PCI extended capabilities 2022-08-08 18:29:16 +02:00
device.rs pci, virtio-devices: Restore proper BAR type 2022-10-13 10:03:23 +02:00
lib.rs pci: vfio: Filter out some PCI extended capabilities 2022-08-08 18:29:16 +02:00
msi.rs pci: msi: Make MsiCap field public 2022-06-09 09:19:58 +02:00
msix.rs pci: Optimise MSI-X table programming 2022-10-07 09:57:27 -07:00
vfio_user.rs pci: vfio: Filter out some PCI extended capabilities 2022-08-08 18:29:16 +02:00
vfio.rs pci: vfio: Filter out some PCI extended capabilities 2022-08-08 18:29:16 +02:00