On 23/01/24 12:12 pm, Het Gala wrote:
'uri' argument should be optional, as 'uri' and 'channels'
arguments are mutally exclusive in nature.

Also verified by running the qemu CI/CD pipeline. ref: https://gitlab.com/galahet/Qemu/-/pipelines/1147048455

Fixes: 074dbce5fcce (migration: New migrate and
migrate-incoming argument 'channels')
Signed-off-by: Het Gala<het.g...@nutanix.com>
---
  qapi/migration.json | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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' ] },

Regards,

Het Gala

Reply via email to