PackageTrack
Sign in Get early access

vhost

a pure rust library for vdpa, vhost and vhost-user

0.17.0 4.2M downloads/mo #4896 most downloaded on crates.io rust-vmm/vhost

What this package is like to depend on

Last release 1 months ago

09 Jul 2026

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 18 of 19 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

20 releases · first in 2021

3 releases in the last 12 months

see the full history below

Release timeline

20 releases · Aug 2021 to Jul 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 20
  1. 0.17.0 09 Jul 2026
    Release notes

    vhost-v0.17.0

    Added
    =====

    - [[#355]](#355) Add socket-cloning helpers for backend request handlers.
    - [[#360]](#360) Validate AF_UNIX SOCK_STREAM socket file descriptors and
    add Error::InvalidSocketFd, Error::NotUnixSocket and Error::NotStreamSocket.

    Changed
    =======

    - [[#364]](#364) Updated vm-memory to 0.18.0
    - [[#366]](#366) Update virtio-bindings to v0.2.7

    Fixed
    =====

    - [[#367]](#367) Fix `SHMEM` protocol feature bit position (bit 21 → bit 22)
    to align with the vhost-user spec, and add missing `GPA_ADDRESSES` at bit 21.

    Open source →
    Release notes

    Added

    • [#355] Add socket-cloning helpers for backend request handlers.
    • [#360] Validate AF_UNIX SOCK_STREAM socket file descriptors and add Error::InvalidSocketFd, Error::NotUnixSocket and Error::NotStreamSocket.

    Changed

    • [#364] Updated vm-memory to 0.18.0
    • [#366] Update virtio-bindings to v0.2.7

    Fixed

    • [#367] Fix SHMEM protocol feature bit position (bit 21 → bit 22) to align with the vhost-user spec, and add missing GPA_ADDRESSES at bit 21.
    Open source →
  2. 0.16.0 25 Mar 2026
    Release notes

    vhost v0.16.0

    Added

    • [#251] Add SHMEM_MAP and SHMEM_UNMAP support
    • [#336] Add frontend support for device state transfer (VHOST_USER_PROTOCOL_F_DEVICE_STATE)
    • [#339] Add support for GET_SHMEM_CONFIG message

    Changed

    • [#338] Implement From<Error> for io::Error, rename Backend::node to inner and inline lock() calls
    • [#347] Shift feature bits to accommodate GET_VRING_BASE_INFLIGHT spec change

    Fixed

    • [#338] vhost: fix double-locking in Backend to Frontend request handlers
    • [#342] vhost-user: frontend: Read the full reply for set_log_base
    Open source →
    Release notes

    Added

    • [#251] Add SHMEM_MAP and SHMEM_UNMAP support
    • [#336] Add frontend support for device state transfer (VHOST_USER_PROTOCOL_F_DEVICE_STATE)
    • [#339] Add support for GET_SHMEM_CONFIG message

    Changed

    • [#338] Implement From<Error> for io::Error, rename Backend::node to inner and inline lock() calls
    • [#347] Shift feature bits to accommodate GET_VRING_BASE_INFLIGHT spec change

    Fixed

    • [#338] vhost: fix double-locking in Backend to Frontend request handlers
    • [#342] vhost-user: frontend: Read the full reply for set_log_base
    Open source →
  3. 0.15.0 18 Nov 2025
    Release notes

    vhost v0.15.0

    Added

    • [#311] Implement
      From<UnixListener> for vhost_user::Listener.

    Changed

    • [#321] Don't take ownership of listener in BackendListener.
    • [#334] Updated vm-memory to 0.17.1 and vmm-sys-util to 0.15.0

    Fixed

    • [#304] Fix building docs.
    • [#326] Fix get_vring_base() returning 0 instead of
      the vring base for vhost-kern backends when compiling in release mode.
    Open source →
    Release notes

    Added

    • [#311] Implement From<UnixListener> for vhost_user::Listener.

    Changed

    • [#321] Don't take ownership of listener in BackendListener.
    • [#334] Updated vm-memory to 0.17.1 and vmm-sys-util to 0.15.0

    Fixed

    • [#304] Fix building docs.
    • [#326] Fix get_vring_base() returning 0 instead of the vring base for vhost-kern backends when compiling in release mode.
    Open source →
  4. 0.14.0 04 Jun 2025
    Release notes

    vhost v0.14.0

    Added

    • [#268] Add support for VHOST_USER_GET_SHARED_OBJECT

    Changed

    • [#290] Backends now
      always support VHOST_USER_PROTOCOL_F_REPLY_ACK, without the
      VhostUserBackendReqHandler implementation having to include it in
      the features returned from get_protocol_features.
    • [#295] Updated vm-memory to 0.16.2 and vmm-sys-util to 0.14.0

    Fixed

    • [#277] vhost: Fix reply header for error case in POSTCOPY_ADVISE
    Open source →
    Release notes

    Added

    • [#268] Add support for VHOST_USER_GET_SHARED_OBJECT

    Changed

    • [#290] Backends now always support VHOST_USER_PROTOCOL_F_REPLY_ACK, without the VhostUserBackendReqHandler implementation having to include it in the features returned from get_protocol_features.
    • [#295] Updated vm-memory to 0.16.2 and vmm-sys-util to 0.14.0

    Fixed

    • [#277] vhost: Fix reply header for error case in POSTCOPY_ADVISE
    Open source →
  5. 0.13.0 04 Nov 2024
    Release notes

    Added

    • [#266] Add support for VHOST_USER_RESET_DEVICE

    Changed

    • [#269] Update vm-memory to 0.16.0 and virtio-queue to 0.13.0
    Open source →
  6. 0.12.1 25 Oct 2024
    Release notes

    Fixed

    • [#267] Fix feature unification issues with gpu-socket feature.
    Open source →
  7. 0.12.0 13 Sep 2024 withdrawn
    Release notes

    This version got yanked because the gpu_socket feature introduced in this release was causing problems (see #265). Starting with the next version (v0.12.1), the gpu_socket feature was removed.

    Added

    • [#241] Add shared objects support
    • [#239] Add support for VHOST_USER_GPU_SET_SOCKET

    Changed

    • [#257] Update vm-memory from 0.14.0 to 0.15.0.
    • [#243] Ignore unknown bits in VHOST_USER_GET_PROTOCOL_FEATURES response.

    Remove

    • [#246] Remove support for FS_* requests
    Open source →
  8. 0.11.0 15 Mar 2024
    Release notes

    Added

    • [#203] Add back-end's internal state migration support
    • [#218] Adding POSTCOPY support
    • [#206] Add bitmap support for tracking dirty pages during migration
    Open source →
  9. 0.10.0 08 Jan 2024
    Release notes

    Changed

    • [#219] Update vmm-sys-util dependency to 0.12.1.

    Remove

    • [#202] Do not expose for internal-usage-only NOOP and MAX_CMD requests.
    • [#205] Remove some commented out code.

    Fixed

    • [#208] Fix various message structs being repr(Rust) instead of repr(C).
    Open source →
  10. 0.9.0 07 Nov 2023
    Release notes

    Changed

    • [#187] Clean master slave
      • Replaced master/slave with frontend/backend in the codebase and public API.
      • Replaced master/slave with frontend/backend in the crate features.
    • Updated dependency bitflags from 1.0 to 2.4
    • [#116] Upgrade to 2021 edition

    Fixed

    Open source →
  11. 0.8.1 17 Jul 2023
    Release notes

    Fixed

    • [#175] vhost: Always enable vm-memory/backend-mmap
    Open source →
  12. 0.8.0 05 Jul 2023
    Release notes

    Added

    • [#169] vhost: Add xen memory mapping support

    Fixed

    • [#165] vhost: vdpa: Provide custom set_vring_addr() implementation
    • [#172] Vhost user fix
    Open source →
  13. 0.7.0 19 May 2023
    Release notes

    Added

    • [#137] vhost_user: add Error::Disconnected

    Changed

    • Updated dependency vm-memory 0.10.0 to 0.11.0

    Fixed

    • [#135] vhost_user: fix UB on invalid master request
    • [#136] vhost_user: fix unsound send_message functions
    • [#153] Fix set_vring_addr issues

    Deprecated

    Open source →
  14. 0.6.1 17 Aug 2023

    Nothing published for this version

  15. 0.6.0 30 Nov 2022
    Release notes

    Upgraded

    • vm-memory from 0.9 to 0.10
    • vmm-sys-util from 0.10 to 0.11
    Open source →
  16. 0.5.0 09 Sep 2022
    Release notes

    Changed

    • [#113] Improved error messages.
    • [#115] Use caret requirements for dependencies.
    Open source →
  17. 0.4.0 18 Mar 2022
    Release notes

    Added

    • [#109] vhost_kern: vdpa: Override the implementation of valid()

    Fixed

    • [#102] Fix warnings and update test coverage
    • [#104] fix CODEOWNERS file
    • [#107] vhost_kern/vdpa: fix get_iova_range()
    Open source →
  18. 0.3.0 20 Dec 2021
    Release notes

    Added

    • [#92] implement vhost_net backend
    • [#97] add method to restore Vdpa objects

    Changed

    • [#90] add vdpa and vhost-vdpa simple description
    • [#90] use vmm_sys_util::fam for vhost_vdpa_config
    • [#95] relax vm-memory dependency
    • [#98] generate documentation for doc.rs with all features enabled

    Fixed

    • [#98] fix a bug in SlaveReqHandler::set_config() which passes wrong configuration data to backend

    Deprecated

    • [#90] remove parse_iotlb_msg
    Open source →
  19. 0.2.0 23 Sep 2021
    Release notes

    Added

    • [#74] Implement FromRawFd for Listener

    • [#33] Add vhost-vDPA support (in-kernel)

    Changed

    • [#68] Enforce ByteValued for received structs
    Open source →
  20. 0.1.0 06 Aug 2021
    Release notes

    First release

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive