aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorHet Gala <het.gala@nutanix.com>2024-01-23 06:42:19 +0000
committerPeter Xu <peterx@redhat.com>2024-01-29 11:02:12 +0800
commit57fd4b4e10756448acd6c90ce041ba8dc9313efc (patch)
tree224f91c536333564cbe9c60be20eec8efb44babd /qapi
parent44d0d456d7c40c2f8900b958c01c1a2ef6acf302 (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>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/migration.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json
index 489b591c23..d3e2b864c5 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' ] },