mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: Enforce a minimum number of queues
Even though the driver can provide fewer queues than those advertised for some device types their is a minimum number that is required for operation. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
a105089702
commit
c90f77e399
@@ -337,6 +337,7 @@ where
|
||||
avail_features,
|
||||
paused_sync: Some(Arc::new(Barrier::new(2))),
|
||||
queue_sizes: QUEUE_SIZES.to_vec(),
|
||||
min_queues: NUM_QUEUES as u16,
|
||||
..Default::default()
|
||||
},
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user