]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Make 'uri' optional for migrate QAPI
authorHet Gala <het.gala@nutanix.com>
Tue, 23 Jan 2024 06:42:19 +0000 (06:42 +0000)
committerPeter Xu <peterx@redhat.com>
Mon, 29 Jan 2024 03:02:12 +0000 (11:02 +0800)
'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>
qapi/migration.json

index 489b591c231c33e185e9b18116889829983fa66c..d3e2b864c5ab83d7a0da556422f9485f23aa4799 100644 (file)
 #
 ##
 { 'command': 'migrate',
-  'data': {'uri': 'str',
+  'data': {'*uri': 'str',
            '*channels': [ 'MigrationChannel' ],
            '*blk': { 'type': 'bool', 'features': [ 'deprecated' ] },
            '*inc': { 'type': 'bool', 'features': [ 'deprecated' ] },