cloud-hypervisor/vmm/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
..
api openapi: Make desired_ram int64 format 2020-03-12 23:17:56 +01:00
acpi.rs vmm: Move DeviceManager into an Arc<Mutex<>> 2020-02-27 11:12:31 +01:00
config.rs vmm: Add id field to --device through CLI 2020-03-11 13:10:57 +00:00
cpu.rs vmm: Remove all Weak references from DeviceManager 2020-03-04 18:46:44 +01:00
device_manager.rs pci: Fix the PciBus using HashMap instead of Vec 2020-03-13 10:54:34 +01:00
interrupt.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00
lib.rs vmm: Add id option to VFIO hotplug 2020-03-11 19:50:31 +01:00
memory_manager.rs vmm: Move codebase to GuestMemoryAtomic from vm-memory 2020-02-19 13:48:19 +00:00
vm.rs vmm: Add id option to VFIO hotplug 2020-03-11 19:50:31 +01:00