cloud-hypervisor/virtio-devices/src
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
..
transport virtio-devices, vmm: Optimised async virtio device activation 2022-06-01 09:42:02 +02:00
vhost_user virtio-devices: Clone Queue with method from vm-virtio 2022-05-16 11:47:20 +02:00
vsock virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
balloon.rs virtio-devices: balloon: Implement free page reporting 2022-02-11 12:10:07 +01:00
block.rs vm-virtio: Define AccessPlatform trait 2022-01-27 10:00:20 +00:00
console.rs virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
device.rs virtio-devices: Introduce new function translating GPAs into GVAs 2022-04-05 00:09:52 +02:00
epoll_helper.rs virtio-devices: Update some comments in epoll_helper.rs 2021-11-23 14:03:05 +01:00
iommu.rs virtio-devices: iommu: Report request error back to guest 2022-04-26 13:07:32 +02:00
lib.rs cargo: Clean up serde dependencies 2022-05-18 08:21:19 +02:00
mem.rs virtio-devices: mem: Reject resize if device not activated by guest 2022-04-21 10:36:23 +01:00
net.rs virtio-devices: Use NetCtrlEpollHandler in vhost-user-net 2022-03-15 16:08:29 +00:00
pmem.rs virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
rng.rs virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
seccomp_filters.rs virtio-devices, vmm: Remove unused macro rules 2022-05-20 09:59:43 +01:00
thread_helper.rs virtio-devices: Call closure directly rather than indirect 2021-10-19 19:42:36 +01:00
vdpa.rs virtio-devices: Translate queue addresses back to GVA if needed 2022-04-05 00:09:52 +02:00
watchdog.rs virtio-devices: Handle virtio queues interrupts from transport layer 2022-01-25 12:01:12 +01:00