Skip to content

vhost-user: Back-end state migration

Hanna Czenczek qemu-devel virtio-fs 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 1 replyIn review
  2. v48 patches 44 repliesSuperseded
  3. v35 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v24 patches16 repliesSuperseded

v2 from the cover letter

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7vhost-user.rst: Improve [GS]ET_VRING_BASE docdocs/interop/vhost-user.rst+73 -40 replies
2/7vhost-user.rst: Clarify enabling/disabling vringsdocs/interop/vhost-user.rst+17 -150 replies
3/7vhost-user.rst: Introduce suspended statedocs/interop/vhost-user.rst+19 -10 replies
4/7vhost-user.rst: Migrating back-end-internal statedocs/interop/vhost-user.rst+172 -00 replies
5/7vhost-user: Interface for migration state transferhw/virtio/vhost-user.c hw/virtio/vhost.c include/hw/virtio/vhost-backend.h +2 more+286 -00 replies
6/7vhost: Add high-level state save/load functionshw/virtio/vhost.c include/hw/virtio/vhost.h+239 -00 replies
7/7vhost-user-fs: Implement internal migrationhw/virtio/vhost-user-fs.c+100 -10 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/7
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/7] vhost-user: Back-end state migration

v2:
https://lists.nongnu.org/archive/html/qemu-devel/2023-07/msg02604.html

v3:
https://lists.nongnu.org/archive/html/qemu-devel/2023-09/msg03750.html

v4:
https://lists.nongnu.org/archive/html/qemu-devel/2023-10/msg01046.html

Based-on: <[email protected]>
([PATCH v2 0/3] vhost: clean up device reset)

Based-on: <[email protected]>
([PATCH] vhost-user: Fix protocol feature bit conflict)

Hi,

v5 is basically the same as v4, only that I’ve dropped the patch deprecating F_STATUS (which doesn’t affect the rest of the series), that I’ve amended the documentation in patch 1 as suggested by Stefan and with help from Michael, and that I’ve rebased everything on top of the F_SHARED_OBJECT changes that have been merged upstream.

git-backport-diff against v4:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/7:[0029] [FC] 'vhost-user.rst: Improve [GS]ET_VRING_BASE doc' 002/7:[----] [--] 'vhost-user.rst: Clarify enabling/disabling vrings' 003/7:[----] [--] 'vhost-user.rst: Introduce suspended state' 004/7:[0006] [FC] 'vhost-user.rst: Migrating back-end-internal state' 005/7:[0007] [FC] 'vhost-user: Interface for migration state transfer' 006/7:[----] [--] 'vhost: Add high-level state save/load functions' 007/7:[----] [--] 'vhost-user-fs: Implement internal migration'

Changes patch by patch:
- Patch 1: Amended documentation
- Patches 4 and 5: Bumped feature bit and command values as necessary so as not to conflict with F_SHARED_OBJECT

Hanna Czenczek (7):
vhost-user.rst: Improve [GS]ET_VRING_BASE doc vhost-user.rst: Clarify enabling/disabling vrings vhost-user.rst: Introduce suspended state vhost-user.rst: Migrating back-end-internal state
vhost-user: Interface for migration state transfer
vhost: Add high-level state save/load functions
vhost-user-fs: Implement internal migration

 docs/interop/vhost-user.rst       | 301 ++++++++++++++++++++++++++++--
 include/hw/virtio/vhost-backend.h |  24 +++
 include/hw/virtio/vhost-user.h    |   1 +
 include/hw/virtio/vhost.h         | 113 +++++++++++
 hw/virtio/vhost-user-fs.c         | 101 +++++++++-
 hw/virtio/vhost-user.c            | 146 +++++++++++++++
 hw/virtio/vhost.c                 | 241 ++++++++++++++++++++++++
 7 files changed, 906 insertions(+), 21 deletions(-)
Signature · 1 line
2.41.0