qapi: Misc cleanups to migrate QAPIs

Signed-off-by: Het Gala <het.gala@nutanix.com>
Message-ID: <20240216195659.189091-1-het.gala@nutanix.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Het Gala 2024-02-16 19:56:59 +00:00 committed by Markus Armbruster
parent dd88d696cc
commit 3cee17e739

View File

@ -1728,6 +1728,7 @@
# #
# -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } } # -> { "execute": "migrate", "arguments": { "uri": "tcp:0:4446" } }
# <- { "return": {} } # <- { "return": {} }
#
# -> { "execute": "migrate", # -> { "execute": "migrate",
# "arguments": { # "arguments": {
# "channels": [ { "channel-type": "main", # "channels": [ { "channel-type": "main",
@ -1796,19 +1797,19 @@
# #
# 3. The uri format is the same as for -incoming # 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. # 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. # exactly one of the two should be present.
# #
# Example: # Example:
# #
# -> { "execute": "migrate-incoming", # -> { "execute": "migrate-incoming",
# "arguments": { "uri": "tcp::4446" } } # "arguments": { "uri": "tcp:0:4446" } }
# <- { "return": {} } # <- { "return": {} }
# #
# -> { "execute": "migrate", # -> { "execute": "migrate-incoming",
# "arguments": { # "arguments": {
# "channels": [ { "channel-type": "main", # "channels": [ { "channel-type": "main",
# "addr": { "transport": "socket", # "addr": { "transport": "socket",
@ -1817,7 +1818,7 @@
# "port": "1050" } } ] } } # "port": "1050" } } ] } }
# <- { "return": {} } # <- { "return": {} }
# #
# -> { "execute": "migrate", # -> { "execute": "migrate-incoming",
# "arguments": { # "arguments": {
# "channels": [ { "channel-type": "main", # "channels": [ { "channel-type": "main",
# "addr": { "transport": "exec", # "addr": { "transport": "exec",
@ -1825,7 +1826,7 @@
# "/some/sock" ] } } ] } } # "/some/sock" ] } } ] } }
# <- { "return": {} } # <- { "return": {} }
# #
# -> { "execute": "migrate", # -> { "execute": "migrate-incoming",
# "arguments": { # "arguments": {
# "channels": [ { "channel-type": "main", # "channels": [ { "channel-type": "main",
# "addr": { "transport": "rdma", # "addr": { "transport": "rdma",