cloud-hypervisor/pci
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
..
src pci: Fix the PciBus using HashMap instead of Vec 2020-03-13 10:54:34 +01:00
Cargo.toml build: Bump linux-loader and vm-memory dependencies 2020-03-05 11:01:30 +01:00