drivers/vhost

vhost virtio host-side backends (net, SCSI, vsock, vDPA)

Kernel-side accelerators for virtio devices used by virtual machines: instead of the hypervisor (typically QEMU/KVM) handling every guest I/O request in userspace, vhost moves the data path for networking, SCSI storage, vsock guest-host sockets, and vDPA hardware offload directly into the host kernel for much higher throughput and lower latency.

keep conf=0.93 deploy=high replacement=none subsystem=vhost category=virtualization
93%

recommendation

It should stay because vhost is a foundational piece of modern Linux virtualization, used by essentially every KVM/QEMU deployment for fast virtio networking, storage, and vsock, and it is the kernel side of the vDPA hardware-offload story. Upstream activity is healthy, with core patches and bug fixes landing as recently as 2026, and current kernel and QEMU documentation still treat vhost as a first-class path for live migration, virtio-net failover, and even AWS Nitro Enclave-style workflows. There is no in-kernel replacement that covers the same role.

repository signals

12 files
13,406 source lines
290 commits, 5y
+4,325 / −2,215 lines added / removed, 5y
84 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 290 total · active in 53/61 months
2021 2022 2023 2024 2025 2026 2021-04: 2 commits · +6 −1 2021-05: 8 commits · +26 −36 2021-06: 4 commits · +56 −8 2021-07: 2 commits · +10 −3 2021-08: 9 commits · +166 −68 2021-09: 6 commits · +35 −22 2021-10: 1 commit · +1 −2 2021-11: 4 commits · +4 −8 2021-12: 2 commits · +2 −1 2022-01: 9 commits · +15 −14 2022-02: 2 commits · +18 −8 2022-03: 19 commits · +349 −108 2022-04: 0 commits · +0 −0 2022-05: 11 commits · +45 −69 2022-06: 5 commits · +61 −27 2022-07: 2 commits · +62 −25 2022-08: 4 commits · +37 −2 2022-09: 5 commits · +31 −30 2022-10: 0 commits · +0 −0 2022-11: 4 commits · +20 −10 2022-12: 1 commit · +26 −20 2023-01: 10 commits · +154 −143 2023-02: 4 commits · +9 −10 2023-03: 18 commits · +172 −208 2023-04: 9 commits · +239 −59 2023-05: 2 commits · +3 −4 2023-06: 23 commits · +568 −241 2023-07: 2 commits · +168 −31 2023-08: 0 commits · +0 −0 2023-09: 6 commits · +26 −11 2023-10: 7 commits · +82 −5 2023-11: 1 commit · +8 −8 2023-12: 4 commits · +24 −3 2024-01: 1 commit · +3 −0 2024-02: 4 commits · +42 −65 2024-03: 11 commits · +162 −67 2024-04: 4 commits · +53 −70 2024-05: 1 commit · +1 −0 2024-06: 1 commit · +6 −8 2024-07: 2 commits · +4 −8 2024-08: 1 commit · +13 −3 2024-09: 1 commit · +4 −1 2024-10: 3 commits · +17 −14 2024-11: 0 commits · +0 −0 2024-12: 8 commits · +338 −207 2025-01: 1 commit · +13 −12 2025-02: 1 commit · +1 −1 2025-03: 0 commits · +0 −0 2025-04: 9 commits · +259 −42 2025-05: 4 commits · +32 −24 2025-06: 6 commits · +16 −136 2025-07: 15 commits · +538 −118 2025-08: 2 commits · +11 −4 2025-09: 6 commits · +27 −31 2025-10: 1 commit · +6 −6 2025-11: 6 commits · +186 −72 2025-12: 0 commits · +0 −0 2026-01: 5 commits · +35 −14 2026-02: 5 commits · +81 −97 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent upstream maintenance is ongoing: a vhost core patch ('vhost: Bump max_mem_regions default to 256') touched drivers/vhost/vhost.c on 2026-03-19.

  2. lore.kernel.org

    Bug-fix traffic is still active in 2026: 'vhost: fix vhost_get_avail_idx for a non empty ring' touched drivers/vhost/vhost.c on 2026-03-02.

  3. kernel.org

    Current kernel documentation still uses vhost in supported virtio-net standby/live-migration setups, with libvirt examples showing '<driver name='vhost' queues='4'/>'.

  4. qemu.org

    Current QEMU documentation says VirtIO device implementation can be provided by QEMU together with the kernel ('known as vhost'), indicating vhost remains a first-class deployment path.

  5. qemu.org

    Current QEMU Nitro Enclaves documentation references vhost-vsock/vhost-user-vsock for enclave communication, showing continued modern virtualization use.

codex reasoning notes (technical)

`drivers/vhost` is real driver code (Kconfig exposes VHOST_NET/VHOST_SCSI/VHOST_VSOCK/VHOST_VDPA modules; local shell read of drivers/vhost/Kconfig). lore_file_timeline on drivers/vhost/vhost.c showed heavy 2021-2026 activity and fresh 2026 patches via lore-http. Web open of current kernel docs and QEMU docs showed vhost still documented in active virtio, failover/live-migration, and enclave workflows. This is virtualization infrastructure rather than sellable hardware, so hardware fields are null/false; there is no natural in-kernel replacement covering the same host-backend role.