]> git.proxmox.com Git - mirror_qemu.git/commit
migration: New QAPI type 'MigrateAddress'
authorHet Gala <het.gala@nutanix.com>
Mon, 23 Oct 2023 18:20:40 +0000 (15:20 -0300)
committerJuan Quintela <quintela@redhat.com>
Thu, 2 Nov 2023 10:35:03 +0000 (11:35 +0100)
commite034f8836492d6a4c64a6a0079877fc3c7e09f36
tree82b50020fb4b73aceafa7a71999f6da7e273aba8
parent88577f32421cd6f52928b0c69573983d8d9acbd0
migration: New QAPI type 'MigrateAddress'

This patch introduces well defined MigrateAddress struct
and its related child objects.

The existing argument of 'migrate' and 'migrate-incoming' QAPI
- 'uri' is of type string. The current implementation follows
double encoding scheme for fetching migration parameters like
'uri' and this is not an ideal design.

Motive for intoducing struct level design is to prevent double
encoding of QAPI arguments, as Qemu should be able to directly
use the QAPI arguments without any level of encoding.

Note: this commit only adds the type, and actual uses comes
in later commits.

Fabiano fixed for "file" transport.

Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com>
Signed-off-by: Het Gala <het.gala@nutanix.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231023182053.8711-2-farosas@suse.de>
Message-Id: <20231023182053.8711-3-farosas@suse.de>
qapi/migration.json