cloud-hypervisor/pci/src
Sebastien Boeuf 8d785bbd5f pci: Fix the PciBus using HashMap instead of Vec
By using a Vec to hold the list of devices on the PciBus, there's a
problem when we use unplug. Indeed, the vector of devices gets reduced
and if the unplugged device was not the last one from the list, every
other device after this one is shifted on the bus.

To solve this problem, a HashMap is used. This allows to keep track of
the exact place where each device stands on the bus.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-03-13 10:54:34 +01:00
..
bus.rs pci: Fix the PciBus using HashMap instead of Vec 2020-03-13 10:54:34 +01:00
configuration.rs pci: handle extended configuration space properly 2020-02-24 17:05:09 +01:00
device.rs pci: Extend PciDevice trait with new free_bars() method 2020-03-11 13:10:30 +00:00
lib.rs pci: Cleanup the crate from unneeded types 2020-01-21 10:44:48 +01:00
msi.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00
msix.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00