cloud-hypervisor/virtio-devices/src
Sebastien Boeuf f94a5fb4e3 virtio-devices: Pass negotiated queue size to vhost-user backend
The vhost-user backend was always provided the maximum queue size but
this is incorrect. Instead it must be informed of the actual queue size
that has been negotiated with the virtio driver running in the guest.

This ensures proper functioning of vhost-user-block with the Rust
Hypervisor Firmware, which uses a hardcoded queue size of 16.

Partially fixes #4285

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2022-07-06 14:45:46 +01:00
..
transport build: Fix beta clippy issue (needless_return) 2022-06-30 20:50:45 +01:00
vhost_user virtio-devices: Pass negotiated queue size to vhost-user backend 2022-07-06 14:45:46 +01:00
vsock build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
balloon.rs virtio-devices: balloon: Implement free page reporting 2022-02-11 12:10:07 +01:00
block.rs vm-virtio: Define AccessPlatform trait 2022-01-27 10:00:20 +00:00
console.rs virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
device.rs virtio-devices: drop Send+Sync bounds for DmaRemapping 2022-06-20 23:28:57 +01:00
epoll_helper.rs virtio-devices: Update some comments in epoll_helper.rs 2021-11-23 14:03:05 +01:00
iommu.rs virtio-devices: iommu: Report request error back to guest 2022-04-26 13:07:32 +02:00
lib.rs build: #[allow(clippy::significant_drop_in_scrutinee) in some crates 2022-06-30 20:50:45 +01:00
mem.rs virtio-devices: mem: Reject resize if device not activated by guest 2022-04-21 10:36:23 +01:00
net.rs virtio-devices: Use NetCtrlEpollHandler in vhost-user-net 2022-03-15 16:08:29 +00:00
pmem.rs build: Fix beta clippy issue (derive_partial_eq_without_eq) 2022-06-30 20:50:45 +01:00
rng.rs virtio-devices: Rename address translation function for more clarity 2022-04-05 00:09:52 +02:00
seccomp_filters.rs virtio-devices, vmm: Remove unused macro rules 2022-05-20 09:59:43 +01:00
thread_helper.rs virtio-devices: Call closure directly rather than indirect 2021-10-19 19:42:36 +01:00
vdpa.rs virtio-devices: Translate queue addresses back to GVA if needed 2022-04-05 00:09:52 +02:00
watchdog.rs virtio-devices: Handle virtio queues interrupts from transport layer 2022-01-25 12:01:12 +01:00