[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 4/6] migration: Deprecate -incoming <uri>
From: |
Peter Xu |
Subject: |
Re: [RFC 4/6] migration: Deprecate -incoming <uri> |
Date: |
Mon, 12 Jun 2023 15:41:44 -0400 |
On Mon, Jun 12, 2023 at 09:33:42PM +0200, Juan Quintela wrote:
> Only "defer" is recommended. After setting all migation parameters,
> start incoming migration with "migrate-incoming uri" command.
>
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
> docs/about/deprecated.rst | 7 +++++++
> softmmu/vl.c | 2 ++
> 2 files changed, 9 insertions(+)
>
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index 47e98dc95e..518672722d 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -447,3 +447,10 @@ The new way to modify migration is using migration
> parameters.
> ``blk`` functionality can be acchieved using
> ``migrate_set_parameter block-incremental true``.
>
> +``-incoming uri`` (since 8.1)
> +'''''''''''''''''''''''''''''
> +
> +Everything except ``-incoming defer`` are deprecated. This allows to
> +setup parameters before launching the proper migration with
> +``migrate-incoming uri``.
> +
> diff --git a/softmmu/vl.c b/softmmu/vl.c
> index b0b96f67fa..7fe865ab59 100644
> --- a/softmmu/vl.c
> +++ b/softmmu/vl.c
> @@ -2651,6 +2651,8 @@ void qmp_x_exit_preconfig(Error **errp)
> if (incoming) {
> Error *local_err = NULL;
> if (strcmp(incoming, "defer") != 0) {
> + warn_report("-incoming %s is deprecated, use -incoming defer and
> "
> + " set the uri with migrate-incoming.", incoming);
I still use uri for all my scripts, alongside with "-global migration.xxx"
and it works.
Shall we just leave it there? Or is deprecating it helps us in any form?
--
Peter Xu
- [RFC 2/6] migration: migrate 'inc' command option is deprecated., (continued)
- [RFC 2/6] migration: migrate 'inc' command option is deprecated., Juan Quintela, 2023/06/12
- [RFC 3/6] migration: migrate 'blk' command option is deprecated., Juan Quintela, 2023/06/12
- [RFC 5/6] migration: Deprecate block migration, Juan Quintela, 2023/06/12
- [RFC 4/6] migration: Deprecate -incoming <uri>, Juan Quintela, 2023/06/12
- Re: [RFC 4/6] migration: Deprecate -incoming <uri>, Paolo Bonzini, 2023/06/22
- Re: [RFC 4/6] migration: Deprecate -incoming <uri>, Juan Quintela, 2023/06/22
- Re: [RFC 4/6] migration: Deprecate -incoming <uri>, Thomas Huth, 2023/06/22
- Re: [RFC 4/6] migration: Deprecate -incoming <uri>, Peter Xu, 2023/06/22