mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
In order to ensure that the virtio device thread is spawned from the vmm thread we use an asynchronous activation mechanism for the virtio devices. This change optimises that code so that we do not need to iterate through all virtio devices on the platform in order to find the one that requires activation. We solve this by creating a separate short lived VirtioPciDeviceActivator that holds the required state for the activation (e.g. the clones of the queues) this can then be stored onto the device manager ready for asynchronous activation. Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
transport | ||
vhost_user | ||
vsock | ||
balloon.rs | ||
block.rs | ||
console.rs | ||
device.rs | ||
epoll_helper.rs | ||
iommu.rs | ||
lib.rs | ||
mem.rs | ||
net.rs | ||
pmem.rs | ||
rng.rs | ||
seccomp_filters.rs | ||
thread_helper.rs | ||
vdpa.rs | ||
watchdog.rs |