From: Het Gala <het.gala@nutanix.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, prerna.saxena@nutanix.com,
quintela@redhat.com, dgilbert@redhat.com, pbonzini@redhat.com,
berrange@redhat.com, eblake@redhat.com,
manish.mishra@nutanix.com, aravind.retnakaran@nutanix.com
Subject: Re: [PATCH v6 2/9] migration: convert uri parameter into 'MigrateAddress' struct
Date: Wed, 5 Jul 2023 18:48:19 +0530 [thread overview]
Message-ID: <7f991a0b-c61d-e573-baff-9cc991201702@nutanix.com> (raw)
In-Reply-To: <877creiokr.fsf@pond.sub.org>
On 05/07/23 4:59 pm, Markus Armbruster wrote:
> Drive-by comment...
>
> Het Gala <het.gala@nutanix.com> writes:
>
>> This patch parses 'migrate' and 'migrate-incoming' QAPI's 'uri' parameter
>> with all the migration connection related information and stores them
>> inside well defined 'MigrateAddress' struct.
>>
>> Misc: limit line width in exec.c to 80 characters recommended by Qemu.
>>
>> Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com>
>> Signed-off-by: Het Gala <het.gala@nutanix.com>
> [...]
>
>> diff --git a/migration/migration.c b/migration/migration.c
>> index dc05c6f6ea..0eb25bb5a4 100644
>> --- a/migration/migration.c
>> +++ b/migration/migration.c
>> @@ -64,6 +64,7 @@
>> #include "yank_functions.h"
>> #include "sysemu/qtest.h"
>> #include "options.h"
>> +#include "qemu/sockets.h"
>>
>> static NotifierList migration_state_notifiers =
>> NOTIFIER_LIST_INITIALIZER(migration_state_notifiers);
>> @@ -420,15 +421,63 @@ void migrate_add_address(SocketAddress *address)
>> QAPI_CLONE(SocketAddress, address));
>> }
>>
>> +static bool migrate_uri_parse(const char *uri,
>> + MigrationAddress **channel,
>> + Error **errp)
>> +{
>> + g_autoptr(MigrationAddress) addrs = g_new0(MigrationAddress, 1);
> @addrs suggests plural, yet it points to a single MigrationAddress.
> Recommend @addr.
>
> Same elsewhere.
Ack.
> [...]
Regards,
Het Gala
next prev parent reply other threads:[~2023-07-05 13:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-06 10:15 [PATCH v6 0/9] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration Het Gala
2023-06-06 10:15 ` [PATCH v6 1/9] migration: introduced 'MigrateAddress' in QAPI for migration wire protocol Het Gala
2023-06-13 5:28 ` Het Gala
2023-06-28 11:15 ` Het Gala
2023-07-05 11:21 ` Markus Armbruster
2023-07-05 12:49 ` Het Gala
2023-07-05 12:58 ` Markus Armbruster
2023-06-06 10:15 ` [PATCH v6 2/9] migration: convert uri parameter into 'MigrateAddress' struct Het Gala
2023-07-05 11:29 ` Markus Armbruster
2023-07-05 13:18 ` Het Gala [this message]
2023-06-06 10:15 ` [PATCH v6 3/9] migration: convert socket backend to accept MigrateAddress struct Het Gala
2023-06-06 10:15 ` [PATCH v6 4/9] migration: convert rdma " Het Gala
2023-06-06 10:15 ` [PATCH v6 5/9] migration: convert exec " Het Gala
2023-06-06 10:15 ` [PATCH v6 6/9] migration: modified migration QAPIs to accept 'channels' argument for migration Het Gala
2023-06-08 11:52 ` Het Gala
2023-06-06 10:15 ` [PATCH v6 7/9] migration: modify migration_channels_and_uri_compatible() to incorporate newer migration QAPI syntax Het Gala
2023-06-06 10:15 ` [PATCH v6 8/9] migration: Introduced MigrateChannelList struct to migration code flow Het Gala
2023-06-06 10:15 ` [PATCH v6 9/9] migration: adding test case for modified QAPI syntax Het Gala
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=7f991a0b-c61d-e573-baff-9cc991201702@nutanix.com \
--to=het.gala@nutanix.com \
--cc=aravind.retnakaran@nutanix.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=manish.mishra@nutanix.com \
--cc=pbonzini@redhat.com \
--cc=prerna.saxena@nutanix.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@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).