Skip to content

RFC vhost-user-fs: Stateful migration

Hanna Czenczek qemu-devel virtio-fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost-user: Add interface for virtio-fs migrationhw/virtio/vhost-user.c hw/virtio/vhost.c include/hw/virtio/vhost-backend.h +1 more+244 -05 replies
2/2vhost-user-fs: Implement stateful migrationhw/virtio/vhost-user-fs.c+170 -17 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] vhost-user-fs: Stateful migration

Hi,

Patch 1 of this RFC series adds virtio-fs-specific operations to vhost for transferring a binary blob of back-end-internal state, and implements those for vhost-user.

Patch 2 uses those operations to implement stateful migration for vhost-user-fs devices, assuming the back-end (virtiofsd) supports it.

This is an RFC for multiple reasons, most notably:
- Patch 1 proposes yet undiscussed changes to the vhost protocol, which makes it RFC by default.
- Without much experience in the fields of migration or vhost (on the qemu side), I hope marking this as an RFC leads to extra scrutiny on the reviewer���s side. O:)

Hanna Czenczek (2):
vhost-user: Add interface for virtio-fs migration
vhost-user-fs: Implement stateful migration

 include/hw/virtio/vhost-backend.h |   9 ++
 include/hw/virtio/vhost.h         |  68 ++++++++++++
 hw/virtio/vhost-user-fs.c         | 171 +++++++++++++++++++++++++++++-
 hw/virtio/vhost-user.c            | 138 ++++++++++++++++++++++++
 hw/virtio/vhost.c                 |  29 +++++
 5 files changed, 414 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.1