cloud-hypervisor/virtio-devices/src
Sebastien Boeuf 355e7468e4 virtio-devices: vhost-user: Don't run threads for net and block
Some refactoring is performed in order to always expect the irqfd to be
provided by VirtioInterrupt trait. In case no irqfd is available, we
simply fail initializing the vhost-user device. This allows for further
simplification since we can assume the interrupt will always be
triggered directly by the vhost-user backend without proxying through
the VMM. This allows for complete removal of the dedicated thread for
both block and net.

vhost-user-fs is a bit more complex as it requires the slave request
protocol feature in order to support DAX. That's why we still need the
VMM to interfere and therefore run a dedicated thread for it.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2021-05-13 09:16:27 +01:00
..
transport misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00
vhost_user virtio-devices: vhost-user: Don't run threads for net and block 2021-05-13 09:16:27 +01:00
vsock virtio-devices: vsock: Address clippy issue 2021-05-07 14:31:57 +02:00
balloon.rs misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00
block.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
console.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
device.rs virtio-device: fix some misspelled words in comment 2021-05-07 09:07:36 +02:00
epoll_helper.rs virtio-devices: Acknowledge a device being paused 2020-08-13 14:52:18 +02:00
iommu.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
lib.rs misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00
mem.rs virtio-devices: Version state structures 2021-05-10 14:40:27 +01:00
net_util.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
net.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
pmem.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
rng.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00
seccomp_filters.rs virtio-devices: net: Add support for VIRTIO_NET_F_CTRL_GUEST_OFFLOADS 2021-04-29 10:02:10 +02:00
watchdog.rs virtio-devices: Stop deriving unnecessary traits 2021-05-12 17:26:11 +02:00