diff options
author | Het Gala <het.gala@nutanix.com> | 2024-01-23 06:42:19 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-01-29 23:26:19 +0300 |
commit | 3837e6dd1ef56e63919b961fa6786fd566fe0311 (patch) | |
tree | bc31120a50f9ef20f0776b4d92ff1479b76b7e89 /qapi | |
parent | b79a2ef0d4dc6b8a4093334db29f7c221c1ac8bd (diff) |
Make 'uri' optional for migrate QAPI
'uri' argument should be optional, as 'uri' and 'channels'
arguments are mutally exclusive in nature.
Fixes: 074dbce5fcce (migration: New migrate and migrate-incoming argument 'channels')
Signed-off-by: Het Gala <het.gala@nutanix.com>
Link: https://lore.kernel.org/r/20240123064219.40514-1-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>
(cherry picked from commit 57fd4b4e10756448acd6c90ce041ba8dc9313efc)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/migration.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json index eb2f883513..197d3faa43 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -1757,7 +1757,7 @@ # ## { 'command': 'migrate', - 'data': {'uri': 'str', + 'data': {'*uri': 'str', '*channels': [ 'MigrationChannel' ], '*blk': { 'type': 'bool', 'features': [ 'deprecated' ] }, '*inc': { 'type': 'bool', 'features': [ 'deprecated' ] }, |