cloud-hypervisor/virtio-devices/src/transport
Sebastien Boeuf 3f62a172b2 virtio-devices: Pass a list of tuples for virtqueues
Instead of passing separately a list of Queues and the equivalent list
of EventFds, we consolidate these two through a tuple along with the
queue index.

The queue index can be very useful if looking for the actual index
related to the queue, no matter if other queues have been enabled or
not.

It's also convenient to have the EventFd associated with the Queue so
that we don't have to carry two lists with the same amount of items.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-07-21 14:28:41 +02:00
..
mod.rs virtio-devices, vmm: Optimised async virtio device activation 2022-06-01 09:42:02 +02:00
pci_common_config.rs virtio-devices: Pass a list of tuples for virtqueues 2022-07-21 14:28:41 +02:00
pci_device.rs virtio-devices: Pass a list of tuples for virtqueues 2022-07-21 14:28:41 +02:00