qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hanna Czenczek <hreitz@redhat.com>
To: qemu-devel@nongnu.org, virtio-fs@redhat.com
Cc: Hanna Czenczek <hreitz@redhat.com>,
	"Michael S . Tsirkin" <mst@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	"Dr . David Alan Gilbert" <dgilbert@redhat.com>,
	Juan Quintela <quintela@redhat.com>
Subject: [RFC 0/2] vhost-user-fs: Stateful migration
Date: Mon, 13 Mar 2023 18:48:31 +0100	[thread overview]
Message-ID: <20230313174833.28790-1-hreitz@redhat.com> (raw)

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(-)

-- 
2.39.1



             reply	other threads:[~2023-03-13 17:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 17:48 Hanna Czenczek [this message]
2023-03-13 17:48 ` [RFC 1/2] vhost-user: Add interface for virtio-fs migration Hanna Czenczek
2023-03-15 13:58   ` Stefan Hajnoczi
2023-03-15 15:55     ` Hanna Czenczek
2023-03-15 16:33       ` Stefan Hajnoczi
2023-03-17 17:39   ` Anton Kuchin
2023-03-17 17:53     ` [Virtio-fs] " Hanna Czenczek
2023-03-13 17:48 ` [RFC 2/2] vhost-user-fs: Implement stateful migration Hanna Czenczek
2023-03-17 17:19   ` Anton Kuchin
2023-03-17 17:52     ` [Virtio-fs] " Hanna Czenczek
2023-03-17 18:37       ` Anton Kuchin
2023-03-20  9:33         ` Hanna Czenczek
2023-03-20 12:39           ` Anton Kuchin
2023-03-21 17:49             ` Hanna Czenczek
2023-03-22 11:18               ` Anton Kuchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230313174833.28790-1-hreitz@redhat.com \
    --to=hreitz@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@redhat.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).