[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/7] multifd: adding multi-interface support for multifd o
|
From: |
Daniel P . Berrangé |
|
Subject: |
Re: [PATCH v2 3/7] multifd: adding multi-interface support for multifd on destination side |
|
Date: |
Tue, 26 Jul 2022 12:20:11 +0100 |
|
User-agent: |
Mutt/2.2.6 (2022-06-05) |
On Thu, Jul 21, 2022 at 07:56:16PM +0000, Het Gala wrote:
> i) Modified the format of qemu monitor command: 'migrate-incoming' by adding
> a list, each element in the list to open socket listeners with a given
> number of multifd channels.
>
> ii) Qemu starts with -incoming flag defer and -multi-fd-incoming defer to
> allow the modified 'migrate-incoming' command to be used.
>
> iii) Format for -multi-fd-incoming flag as a comma separated string has been
> added with each substring containing listener socket address and number
> of sockets to open.
>
> Suggested-by: Manish Mishra <manish.mishra@nutanix.com>
> Signed-off-by: Het Gala <het.gala@nutanix.com>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 79e00916a1..5555f0d2fd 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -4479,6 +4479,24 @@ SRST
> to issuing the migrate\_incoming to allow the migration to begin.
> ERST
>
> +DEF("multi-fd-incoming", HAS_ARG, QEMU_OPTION_multi_fd_incoming, \
> + "-multi-fd-incoming
> tcp:[host]:port[:channel][,to=maxport][,ipv4=on|off][,ipv6=on|off]\n" \
> + "-multi-fd-incoming defer\n" \
> + " wait for the URI to be specified via\n" \
> + " multi_fd_migrate_incoming\n",
> + QEMU_ARCH_ALL)
> +SRST
> +``-multi-fd-incoming
> tcp:[host]:port[:channel][,to=maxport][,ipv4=on|off][,ipv6=on|off]``
> + Prepare for multi-fd incoming migration, with multi-fd listening sockets
> + on that connection. Default number of multi-fd channels is 2.
> +
> +``-multi-fd-incoming defer``
> + Wait for the URI to be specified via multi_fd_migrate\_incoming. The
> + monitor can be used to change settings (such as migration parameters)
> + prior to issuing the multi_fd_migrate\_incoming to allow the migration
> + to begin.
> +ERST
We should not be adding any new -multi-fd-incoming CLI parameter at all.
The CLI is so unsuitable for any complex configuration param and this
is a prime example.
If anything we should fully deprecate anything that is not '-incoming defer'
such that we become 100% QMP/QAPI based for incoming migration config.
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v2 0/7] multifd: Multiple interface support on top of Multifd, Het Gala, 2022/07/21
- [PATCH v2 2/7] multifd: modifying 'migrate' qmp command to add multifd socket on particular src and dest pair, Het Gala, 2022/07/21
- [PATCH v2 4/7] multifd: HMP changes for multifd source and destination side, Het Gala, 2022/07/21
- [PATCH v2 3/7] multifd: adding multi-interface support for multifd on destination side, Het Gala, 2022/07/21
- Re: [PATCH v2 3/7] multifd: adding multi-interface support for multifd on destination side,
Daniel P . Berrangé <=
- [PATCH v2 6/7] muitlfd: Correcting nit : whitespace error changes in qemu-sockets.c file, Het Gala, 2022/07/21
- [PATCH v2 5/7] multifd: establishing connection between any non-default src and dest pair, Het Gala, 2022/07/21
- [PATCH v2 1/7] multifd: adding more helper functions in util files for live migration, Het Gala, 2022/07/21
- [PATCH v2 7/7] multifd: adding support for multifd connections dynamically, Het Gala, 2022/07/21