cloud-hypervisor/vmm/src
Sebastien Boeuf 08604ac6a8 vmm: Store PCI devices as Any devices from DeviceManager
As we try to keep track of every PCI device related to the VM, we don't
want to have separate lists depending on the concrete type associated
with the PciDevice trait. Also, we want to be able to cast the actual
type into any trait or concrete type.

The most efficient way to solve all these issues is to store every
device as an Arc<dyn Any + Send + Sync>. This gives the ability to
downcast into the appropriate concrete type, and then to cast back into
any trait that we might need.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-03-10 17:05:06 +00:00
..
api vmm: api: Introduce new "add-device" HTTP endpoint 2020-03-04 12:06:02 +00:00
acpi.rs vmm: Move DeviceManager into an Arc<Mutex<>> 2020-02-27 11:12:31 +01:00
config.rs vmm: Remove deprecated CPU syntax 2020-02-24 07:26:31 +01:00
cpu.rs vmm: Remove all Weak references from DeviceManager 2020-03-04 18:46:44 +01:00
device_manager.rs vmm: Store PCI devices as Any devices from DeviceManager 2020-03-10 17:05:06 +00:00
interrupt.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00
lib.rs vmm: api: Introduce new "add-device" HTTP endpoint 2020-03-04 12:06:02 +00:00
memory_manager.rs vmm: Move codebase to GuestMemoryAtomic from vm-memory 2020-02-19 13:48:19 +00:00
vm.rs vmm: Remove IO bus strong reference from Vm 2020-03-04 18:46:44 +01:00