cloud-hypervisor/virtio-devices
Bo Chen 710a860e9b virtio-devices: iommu: Avoid using vector and direct indexing
The the number of queues and associated events is known and fixed. We
can define and use each of them explicitly and avoid using vector (and
hence direct indexing), which is cleaner and slightly more efficient.
Also, this refactoring makes it clearer that we are not handling "event
queue" events (as "_event_queue" is not being used intentionally).

Signed-off-by: Bo Chen <chen.bo@intel.com>
2022-10-20 07:45:36 -07:00
..
src virtio-devices: iommu: Avoid using vector and direct indexing 2022-10-20 07:45:36 -07:00
Cargo.toml build: Bump serde_json from 1.0.86 to 1.0.87 2022-10-19 23:44:35 +00:00