[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/8] Replace connect_uri and move migrate_get_socket_addre
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH v4 2/8] Replace connect_uri and move migrate_get_socket_address inside migrate_qmp |
Date: |
Mon, 11 Mar 2024 15:16:26 -0300 |
Het Gala <het.gala@nutanix.com> writes:
> Move the calls to migrate_get_socket_address() into migrate_qmp().
> Get rid of connect_uri and replace it with args->connect_uri only
> because 'to' object will help to generate connect_uri with the
> correct port number.
>
> Signed-off-by: Het Gala <het.gala@nutanix.com>
> Suggested-by: Fabiano Rosas <farosas@suse.de>
> Reviewed-by: Fabiano Rosas <farosas@suse.de>
> ---
> tests/qtest/migration-helpers.c | 55 ++++++++++++++++++++++-
> tests/qtest/migration-test.c | 79 +++++----------------------------
> 2 files changed, 64 insertions(+), 70 deletions(-)
>
> diff --git a/tests/qtest/migration-helpers.c b/tests/qtest/migration-helpers.c
> index b6206a04fb..9af3c7d4d5 100644
> --- a/tests/qtest/migration-helpers.c
> +++ b/tests/qtest/migration-helpers.c
> @@ -13,6 +13,10 @@
> #include "qemu/osdep.h"
> #include "qemu/ctype.h"
> #include "qapi/qmp/qjson.h"
> +#include "qemu/sockets.h"
> +#include "qapi/qapi-visit-sockets.h"
> +#include "qapi/qobject-input-visitor.h"
> +#include "qapi/error.h"
Are any of these now superfluous at migration-test.c?
[PATCH v4 5/8] Add migrate_set_ports into migrate_qmp to update migration port value, Het Gala, 2024/03/08