cloud-hypervisor/virtio-devices/src/vhost_user
Rob Bradford 4806357f52 virtio-devices: net: Cleanup the MQ handling in the control queue
Cleanup the control queue handling in preparation for supporting
alternative commands.

Note that this change does not make the MQ handling spec compliant.
According to the specification MQ should only be enabled once the number
of queue pairs the guest would like to use has been specified. The only
improvement towards the specication in this change is correct error
handling if the guest specifies an inappropriate number of queues (out
of range.)

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-04-29 10:02:10 +02:00
..
blk.rs virtio-devices: Address Rust 1.51.0 clippy issue (vec_init_then_push) 2021-03-26 11:32:09 +00:00
fs.rs virtio-devices: use Option::map 2021-03-29 09:55:29 +02:00
handler.rs vhost: Move to upstream crate 2021-02-25 11:20:41 +01:00
mod.rs virtio-devices: Add support for adding a single memory region 2021-03-11 19:04:21 +01:00
net.rs virtio-devices: net: Cleanup the MQ handling in the control queue 2021-04-29 10:02:10 +02:00
vu_common_ctrl.rs virtio-devices: Add support for adding a single memory region 2021-03-11 19:04:21 +01:00