* [PATCH] qapi: Misc cleanups to migrate QAPIs
@ 2024-02-16 19:56 Het Gala
2024-02-21 6:57 ` Markus Armbruster
0 siblings, 1 reply; 7+ messages in thread
From: Het Gala @ 2024-02-16 19:56 UTC (permalink / raw)
To: qemu-devel; +Cc: armbru, Het Gala
Signed-off-by: Het Gala <het.gala@nutanix.com>
---
qapi/migration.json | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index 5a565d9b8d..5756e650b0 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1728,6 +1728,7 @@
#
# -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
# <- { "return": {} }
+#
# -> { "execute": "migrate",
# "arguments": {
# "channels": [ { "channel-type": "main",
@@ -1796,19 +1797,19 @@
#
# 3. The uri format is the same as for -incoming
#
-# 5. For now, number of migration streams is restricted to one,
+# 4. For now, number of migration streams is restricted to one,
# i.e number of items in 'channels' list is just 1.
#
-# 4. The 'uri' and 'channels' arguments are mutually exclusive;
+# 5. The 'uri' and 'channels' arguments are mutually exclusive;
# exactly one of the two should be present.
#
# Example:
#
# -> { "execute": "migrate-incoming",
-# "arguments": { "uri": "tcp::4446" } }
+# "arguments": { "uri": "tcp:0:4446" } }
# <- { "return": {} }
#
-# -> { "execute": "migrate",
+# -> { "execute": "migrate-incoming",
# "arguments": {
# "channels": [ { "channel-type": "main",
# "addr": { "transport": "socket",
@@ -1817,7 +1818,7 @@
# "port": "1050" } } ] } }
# <- { "return": {} }
#
-# -> { "execute": "migrate",
+# -> { "execute": "migrate-incoming",
# "arguments": {
# "channels": [ { "channel-type": "main",
# "addr": { "transport": "exec",
@@ -1825,7 +1826,7 @@
# "/some/sock" ] } } ] } }
# <- { "return": {} }
#
-# -> { "execute": "migrate",
+# -> { "execute": "migrate-incoming",
# "arguments": {
# "channels": [ { "channel-type": "main",
# "addr": { "transport": "rdma",
--
2.22.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-16 19:56 [PATCH] qapi: Misc cleanups to migrate QAPIs Het Gala
@ 2024-02-21 6:57 ` Markus Armbruster
2024-02-21 7:06 ` Het Gala
0 siblings, 1 reply; 7+ messages in thread
From: Markus Armbruster @ 2024-02-21 6:57 UTC (permalink / raw)
To: Het Gala; +Cc: qemu-devel, Peter Xu, Fabiano Fidêncio
You neglected to cc: migration maintainers; I'm doing that for you now.
Peter or Fabiano, please have a look.
Het Gala <het.gala@nutanix.com> writes:
> Signed-off-by: Het Gala <het.gala@nutanix.com>
> ---
> qapi/migration.json | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 5a565d9b8d..5756e650b0 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -1728,6 +1728,7 @@
> #
> # -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
> # <- { "return": {} }
> +#
> # -> { "execute": "migrate",
> # "arguments": {
> # "channels": [ { "channel-type": "main",
> @@ -1796,19 +1797,19 @@
> #
> # 3. The uri format is the same as for -incoming
> #
> -# 5. For now, number of migration streams is restricted to one,
> +# 4. For now, number of migration streams is restricted to one,
> # i.e number of items in 'channels' list is just 1.
> #
> -# 4. The 'uri' and 'channels' arguments are mutually exclusive;
> +# 5. The 'uri' and 'channels' arguments are mutually exclusive;
> # exactly one of the two should be present.
> #
> # Example:
> #
> # -> { "execute": "migrate-incoming",
> -# "arguments": { "uri": "tcp::4446" } }
> +# "arguments": { "uri": "tcp:0:4446" } }
> # <- { "return": {} }
> #
> -# -> { "execute": "migrate",
> +# -> { "execute": "migrate-incoming",
> # "arguments": {
> # "channels": [ { "channel-type": "main",
> # "addr": { "transport": "socket",
> @@ -1817,7 +1818,7 @@
> # "port": "1050" } } ] } }
> # <- { "return": {} }
> #
> -# -> { "execute": "migrate",
> +# -> { "execute": "migrate-incoming",
> # "arguments": {
> # "channels": [ { "channel-type": "main",
> # "addr": { "transport": "exec",
> @@ -1825,7 +1826,7 @@
> # "/some/sock" ] } } ] } }
> # <- { "return": {} }
> #
> -# -> { "execute": "migrate",
> +# -> { "execute": "migrate-incoming",
> # "arguments": {
> # "channels": [ { "channel-type": "main",
> # "addr": { "transport": "rdma",
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-21 6:57 ` Markus Armbruster
@ 2024-02-21 7:06 ` Het Gala
2024-02-21 8:23 ` Markus Armbruster
2024-02-21 8:26 ` Peter Xu
0 siblings, 2 replies; 7+ messages in thread
From: Het Gala @ 2024-02-21 7:06 UTC (permalink / raw)
To: Markus Armbruster
Cc: qemu-devel, Peter Xu, Fabiano Fidêncio, Fabiano Rosas
Sorry Markus, firstly I thought its just regarding qapi documentation so
migration maintainers might not be needed ? but then I realize the
commit message fails to specify that
IIRC, you are one of the maintainers for qapi. So, just cc'd to you, but
you are right, should have done to migration maintainers also.
Have we got the wrong Fabiano here ? Isn't Fabiano Rosas the migration
maintainer ?
cc'ing to Fabiano Rosas too.
On 21/02/24 12:27 pm, Markus Armbruster wrote:
> You neglected to cc: migration maintainers; I'm doing that for you now.
>
> Peter or Fabiano, please have a look.
>
> Het Gala <het.gala@nutanix.com> writes:
>
>> Signed-off-by: Het Gala <het.gala@nutanix.com>
>> ---
>> qapi/migration.json | 13 +++++++------
>> 1 file changed, 7 insertions(+), 6 deletions(-)
>>
>> diff --git a/qapi/migration.json b/qapi/migration.json
>> index 5a565d9b8d..5756e650b0 100644
>> --- a/qapi/migration.json
>> +++ b/qapi/migration.json
>> @@ -1728,6 +1728,7 @@
>> #
>> # -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
>> # <- { "return": {} }
>> +#
>> # -> { "execute": "migrate",
>> # "arguments": {
>> # "channels": [ { "channel-type": "main",
>> @@ -1796,19 +1797,19 @@
>> #
>> # 3. The uri format is the same as for -incoming
>> #
>> -# 5. For now, number of migration streams is restricted to one,
>> +# 4. For now, number of migration streams is restricted to one,
>> # i.e number of items in 'channels' list is just 1.
>> #
>> -# 4. The 'uri' and 'channels' arguments are mutually exclusive;
>> +# 5. The 'uri' and 'channels' arguments are mutually exclusive;
>> # exactly one of the two should be present.
>> #
>> # Example:
>> #
>> # -> { "execute": "migrate-incoming",
>> -# "arguments": { "uri": "tcp::4446" } }
>> +# "arguments": { "uri": "tcp:0:4446" } }
>> # <- { "return": {} }
>> #
>> -# -> { "execute": "migrate",
>> +# -> { "execute": "migrate-incoming",
>> # "arguments": {
>> # "channels": [ { "channel-type": "main",
>> # "addr": { "transport": "socket",
>> @@ -1817,7 +1818,7 @@
>> # "port": "1050" } } ] } }
>> # <- { "return": {} }
>> #
>> -# -> { "execute": "migrate",
>> +# -> { "execute": "migrate-incoming",
>> # "arguments": {
>> # "channels": [ { "channel-type": "main",
>> # "addr": { "transport": "exec",
>> @@ -1825,7 +1826,7 @@
>> # "/some/sock" ] } } ] } }
>> # <- { "return": {} }
>> #
>> -# -> { "execute": "migrate",
>> +# -> { "execute": "migrate-incoming",
>> # "arguments": {
>> # "channels": [ { "channel-type": "main",
>> # "addr": { "transport": "rdma",
Regards,
Het Gala
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-21 7:06 ` Het Gala
@ 2024-02-21 8:23 ` Markus Armbruster
2024-02-21 8:26 ` Peter Xu
1 sibling, 0 replies; 7+ messages in thread
From: Markus Armbruster @ 2024-02-21 8:23 UTC (permalink / raw)
To: Het Gala
Cc: Markus Armbruster, qemu-devel, Peter Xu, Fabiano Fidêncio,
Fabiano Rosas
Het Gala <het.gala@nutanix.com> writes:
> Sorry Markus, firstly I thought its just regarding qapi documentation so migration maintainers might not be needed ? but then I realize the commit message fails to specify that
>
> IIRC, you are one of the maintainers for qapi. So, just cc'd to you, but you are right, should have done to migration maintainers also.
Cc'ing me was definitely appropriate.
You can use scripts/get_maintainer.pl to help you figugure out who to
cc. For this patch, its output is
Eric Blake <eblake@redhat.com> (supporter:QAPI Schema)
Markus Armbruster <armbru@redhat.com> (supporter:QAPI Schema)
Peter Xu <peterx@redhat.com> (maintainer:Migration)
Fabiano Rosas <farosas@suse.de> (maintainer:Migration)
qemu-devel@nongnu.org (open list:All patches CC here)
> Have we got the wrong Fabiano here ? Isn't Fabiano Rosas the migration maintainer ?
We do! Butterfingers...
> cc'ing to Fabiano Rosas too.
Thanks for paying attention :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-21 7:06 ` Het Gala
2024-02-21 8:23 ` Markus Armbruster
@ 2024-02-21 8:26 ` Peter Xu
2024-02-21 8:30 ` Markus Armbruster
1 sibling, 1 reply; 7+ messages in thread
From: Peter Xu @ 2024-02-21 8:26 UTC (permalink / raw)
To: Het Gala; +Cc: Markus Armbruster, qemu-devel, Fabiano Rosas
Thanks, Markus.
On Wed, Feb 21, 2024 at 12:36:57PM +0530, Het Gala wrote:
> > > diff --git a/qapi/migration.json b/qapi/migration.json
> > > index 5a565d9b8d..5756e650b0 100644
> > > --- a/qapi/migration.json
> > > +++ b/qapi/migration.json
> > > @@ -1728,6 +1728,7 @@
> > > #
> > > # -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
> > > # <- { "return": {} }
> > > +#
> > > # -> { "execute": "migrate",
> > > # "arguments": {
> > > # "channels": [ { "channel-type": "main",
> > > @@ -1796,19 +1797,19 @@
> > > #
> > > # 3. The uri format is the same as for -incoming
> > > #
> > > -# 5. For now, number of migration streams is restricted to one,
> > > +# 4. For now, number of migration streams is restricted to one,
> > > # i.e number of items in 'channels' list is just 1.
> > > #
> > > -# 4. The 'uri' and 'channels' arguments are mutually exclusive;
> > > +# 5. The 'uri' and 'channels' arguments are mutually exclusive;
> > > # exactly one of the two should be present.
> > > #
> > > # Example:
> > > #
> > > # -> { "execute": "migrate-incoming",
> > > -# "arguments": { "uri": "tcp::4446" } }
> > > +# "arguments": { "uri": "tcp:0:4446" } }
> > > # <- { "return": {} }
> > > #
> > > -# -> { "execute": "migrate",
> > > +# -> { "execute": "migrate-incoming",
> > > # "arguments": {
> > > # "channels": [ { "channel-type": "main",
> > > # "addr": { "transport": "socket",
> > > @@ -1817,7 +1818,7 @@
> > > # "port": "1050" } } ] } }
> > > # <- { "return": {} }
> > > #
> > > -# -> { "execute": "migrate",
> > > +# -> { "execute": "migrate-incoming",
> > > # "arguments": {
> > > # "channels": [ { "channel-type": "main",
> > > # "addr": { "transport": "exec",
> > > @@ -1825,7 +1826,7 @@
> > > # "/some/sock" ] } } ] } }
> > > # <- { "return": {} }
> > > #
> > > -# -> { "execute": "migrate",
> > > +# -> { "execute": "migrate-incoming",
> > > # "arguments": {
> > > # "channels": [ { "channel-type": "main",
> > > # "addr": { "transport": "rdma",
Reviewed-by: Peter Xu <peterx@redhat.com>
Markus, do you want us to pick it up, or let it go via qapi?
Thanks,
--
Peter Xu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-21 8:26 ` Peter Xu
@ 2024-02-21 8:30 ` Markus Armbruster
2024-02-21 9:58 ` Peter Xu
0 siblings, 1 reply; 7+ messages in thread
From: Markus Armbruster @ 2024-02-21 8:30 UTC (permalink / raw)
To: Peter Xu; +Cc: Het Gala, Markus Armbruster, qemu-devel, Fabiano Rosas
Peter Xu <peterx@redhat.com> writes:
> Thanks, Markus.
[...]
> Reviewed-by: Peter Xu <peterx@redhat.com>
>
> Markus, do you want us to pick it up, or let it go via qapi?
I can stick it into my next qapi PR in a few days, if you guys don't
beat me to the punch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] qapi: Misc cleanups to migrate QAPIs
2024-02-21 8:30 ` Markus Armbruster
@ 2024-02-21 9:58 ` Peter Xu
0 siblings, 0 replies; 7+ messages in thread
From: Peter Xu @ 2024-02-21 9:58 UTC (permalink / raw)
To: Markus Armbruster; +Cc: Het Gala, qemu-devel, Fabiano Rosas
On Wed, Feb 21, 2024 at 09:30:52AM +0100, Markus Armbruster wrote:
> Peter Xu <peterx@redhat.com> writes:
>
> > Thanks, Markus.
>
> [...]
>
> > Reviewed-by: Peter Xu <peterx@redhat.com>
> >
> > Markus, do you want us to pick it up, or let it go via qapi?
>
> I can stick it into my next qapi PR in a few days, if you guys don't
> beat me to the punch.
That works, thanks!
--
Peter Xu
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-02-21 15:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 19:56 [PATCH] qapi: Misc cleanups to migrate QAPIs Het Gala
2024-02-21 6:57 ` Markus Armbruster
2024-02-21 7:06 ` Het Gala
2024-02-21 8:23 ` Markus Armbruster
2024-02-21 8:26 ` Peter Xu
2024-02-21 8:30 ` Markus Armbruster
2024-02-21 9:58 ` Peter Xu
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).