mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
710a860e9b
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>