]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: add "return-path" capability
authorPeter Xu <peterx@redhat.com>
Mon, 26 Jun 2017 10:28:55 +0000 (18:28 +0800)
committerJuan Quintela <quintela@redhat.com>
Wed, 28 Jun 2017 09:51:10 +0000 (11:51 +0200)
commitc788ada8163127d20505e3ebf9b8735ba313d661
tree77ca03e630f79ea4f5de71a07ec4f669c1b3234b
parentd2164ad35c411d97abd2aa5c6f160283d215e214
migration: add "return-path" capability

When this capability is enabled, QEMU will use the return path even for
precopy migration. This is helpful at least in one case when destination
failed to load the image while source quited without confirmation. With
return path, source will wait for the last response from destination,
and if destination fails, it'll fail the migration on source, then the
guest can be run again on the source (rather than assuming to be good,
then the guest will be lost after source quits).

It needs to be enabled explicitly on source, otherwise disabled.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1498472935-14461-1-git-send-email-peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c
migration/migration.h
qapi-schema.json