aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorHet Gala <het.gala@nutanix.com>2023-10-23 15:20:48 -0300
committerJuan Quintela <quintela@redhat.com>2023-11-02 11:35:04 +0100
commit074dbce5fcce597e61ff6c44d2977458f0ba2f29 (patch)
tree3a82420ad58daf5f60234f363b866f8dc562a139 /system
parent02afba63e93729e3bdc2ffa900c4e8bc835e1950 (diff)
downloadqemu-074dbce5fcce597e61ff6c44d2977458f0ba2f29.zip
qemu-074dbce5fcce597e61ff6c44d2977458f0ba2f29.tar.gz
qemu-074dbce5fcce597e61ff6c44d2977458f0ba2f29.tar.bz2
migration: New migrate and migrate-incoming argument 'channels'
MigrateChannelList allows to connect accross multiple interfaces. Add MigrateChannelList struct as argument to migration QAPIs. We plan to include multiple channels in future, to connnect multiple interfaces. Hence, we choose 'MigrateChannelList' as the new argument over 'MigrateChannel' to make migration QAPIs future proof. Suggested-by: Aravind Retnakaran <aravind.retnakaran@nutanix.com> Signed-off-by: Het Gala <het.gala@nutanix.com> Acked-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231023182053.8711-10-farosas@suse.de>
Diffstat (limited to 'system')
-rw-r--r--system/vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/vl.c b/system/vl.c
index 92d29bf..3fb5692 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -2702,7 +2702,7 @@ void qmp_x_exit_preconfig(Error **errp)
if (incoming) {
Error *local_err = NULL;
if (strcmp(incoming, "defer") != 0) {
- qmp_migrate_incoming(incoming, &local_err);
+ qmp_migrate_incoming(incoming, false, NULL, &local_err);
if (local_err) {
error_reportf_err(local_err, "-incoming %s: ", incoming);
exit(1);