mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
A Virtual Machine Monitor for modern Cloud workloads.
c2c51dc9d1
Copied from crosvm 107edb3e with one main modification: VirtioPciDevice implements BusDevice. We need this modification because it is the only way for us to be able to add a VirtioPciDevice to the MMIO bus. Bus insertion takes a BusDevice. The fact that VirtioPciDevice implements PciDevice which itself implements BusDevice does not mean that Rust will automatically downcast a VirtioPciDevice into a BusDevice. crosvm works around that issue by having the PCI, virtio and BusDevice implementations in the same crate. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> |
||
---|---|---|
arch | ||
arch_gen | ||
devices | ||
pci | ||
src | ||
virtio-bindings | ||
vm-allocator | ||
vm-virtio | ||
vmm | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |