cloud-hypervisor/vmm
Rob Bradford ade3a9c8f6 virtio-devices, vmm: Optimised async virtio device activation
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>
2022-06-01 09:42:02 +02:00
..
src virtio-devices, vmm: Optimised async virtio device activation 2022-06-01 09:42:02 +02:00
Cargo.toml vmm: add GuestDebuggable trait 2022-05-30 13:41:40 +02:00