All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Cc: qemu-devel@nongnu.org,  Raphael Norwitz <raphael@enfabrica.net>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	 Stefano Garzarella <sgarzare@redhat.com>,
	 Kevin Wolf <kwolf@redhat.com>,  Hanna Reitz <hreitz@redhat.com>,
	 Peter Xu <peterx@redhat.com>,  Fabiano Rosas <farosas@suse.de>,
	 Eric Blake <eblake@redhat.com>,
	 Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH 2/2] vhost-user-blk: support inflight migration
Date: Mon, 20 Oct 2025 11:55:27 +0200	[thread overview]
Message-ID: <878qh599tc.fsf@pond.sub.org> (raw)
In-Reply-To: <20251020054413.2614932-3-dtalexundeer@yandex-team.ru> (Alexandr Moshkov's message of "Mon, 20 Oct 2025 10:44:16 +0500")

Alexandr Moshkov <dtalexundeer@yandex-team.ru> writes:

> In vhost_user_blk_stop() on incoming migration make force_stop = true,
> so GET_VRING_BASE will not be executed.
>
> Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>

Your cover letter explains why this is useful.  Please work it into your
commit message.

[...]

> diff --git a/qapi/migration.json b/qapi/migration.json
> index be0f3fcc12..c9fea59515 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -517,9 +517,13 @@
>  #     each RAM page.  Requires a migration URI that supports seeking,
>  #     such as a file.  (since 9.0)
>  #
> +# @inflight-vhost-user-blk: If enabled, QEMU will migrate inflight
> +#    region for vhost-user-blk.  (since 10.2)
> +#

Any guidance why and when users would want to enable it?

Is it a good idea to have device-specific capabilities?

>  # Features:
>  #
> -# @unstable: Members @x-colo and @x-ignore-shared are experimental.
> +# @unstable: Members @x-colo and @x-ignore-shared,
> +#     @inflight-vhost-user-blk are experimental.

"and" is misplaced now.  Fix:

   # @unstable: Members @x-colo, @x-ignore-shared, and
   #     @inflight-vhost-user-blk are experimental.

Use the opportunity and insert a blank line here.

>  # @deprecated: Member @zero-blocks is deprecated as being part of
>  #     block migration which was already removed.
>  #
> @@ -536,7 +540,8 @@
>             { 'name': 'x-ignore-shared', 'features': [ 'unstable' ] },
>             'validate-uuid', 'background-snapshot',
>             'zero-copy-send', 'postcopy-preempt', 'switchover-ack',
> -           'dirty-limit', 'mapped-ram'] }
> +           'dirty-limit', 'mapped-ram',
> +           { 'name': 'inflight-vhost-user-blk', 'features': [ 'unstable' ] } ] }

Long line.  Obvious line break:

              { 'name': 'inflight-vhost-user-blk',
                'features': [ 'unstable' ] } ] }

>  
>  ##
>  # @MigrationCapabilityStatus:



  reply	other threads:[~2025-10-20  9:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20  5:44 [PATCH 0/2] vhost-user-blk: support inflight migration Alexandr Moshkov
2025-10-20  5:44 ` [PATCH 1/2] vhost: support inflight save/load Alexandr Moshkov
2025-10-21 19:29   ` Peter Xu
2025-10-23  6:46     ` Alexandr Moshkov
2025-10-20  5:44 ` [PATCH 2/2] vhost-user-blk: support inflight migration Alexandr Moshkov
2025-10-20  9:55   ` Markus Armbruster [this message]
2025-10-20 10:34     ` Alexandr Moshkov
2025-10-20 11:47       ` Markus Armbruster
2025-10-23 19:24         ` Peter Xu
2025-10-24  8:42           ` Alexandr Moshkov
2025-10-23 14:29   ` Lei Yang
2025-10-24  8:37     ` Alexandr Moshkov
2025-10-25 14:19       ` Lei Yang
2025-10-20  9:55 ` [PATCH 0/2] " Markus Armbruster
2025-10-20 10:16   ` Alexandr Moshkov
2025-10-21 18:54 ` Raphael Norwitz
2025-10-22  7:59   ` Alexandr Moshkov
2025-10-22 21:33     ` Raphael Norwitz
2025-10-23  6:44       ` Alexandr Moshkov
2025-10-23 17:53         ` Raphael Norwitz

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=878qh599tc.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=dtalexundeer@yandex-team.ru \
    --cc=eblake@redhat.com \
    --cc=farosas@suse.de \
    --cc=hreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mst@redhat.com \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=raphael@enfabrica.net \
    --cc=sgarzare@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.