Skip to content

vhost-v0.18.0

Choose a tag to compare

@sboeuf sboeuf released this 22 Oct 11:15
· 6 commits to main since this release

Added

  • [#381] Add a postcopy-frontend feature
  • [#381] Add
    VhostUserBackendReqHandler::postcopy_ack_mem_regions() (and its
    VhostUserBackendReqHandlerMut counterpart).
  • [#381] Add VhostUserFrontend::postcopy_ack_mem_regions().

Changed

  • [#381] VhostBackend::set_mem_table() (and its
    VhostBackendMut counterpart) and VhostUserFrontend::add_mem_region() return the bases of the
    backend's mappings while postcopy is listening, and None otherwise.
  • [#381] VhostUserBackendReqHandler::set_mem_table()
    and add_mem_region() (and their VhostUserBackendReqHandlerMut counterparts) take a
    postcopy_listening parameter, and return the bases of the backend's mappings while postcopy is
    listening, and None otherwise.
  • [#381] BackendReqHandler rejects POSTCOPY_ADVISE,
    POSTCOPY_LISTEN and POSTCOPY_END requests received out of order.

Fixed

  • [#368] Fix docs.rs builds.
  • [#378] Allow REM_MEM_REG requests to carry a file
    descriptor for spec compliance against older incorrect implementations.
  • [#381] Reply to SET_MEM_TABLE and ADD_MEM_REG with
    the backend's mapping bases while postcopy is listening, as defined in the spec.