diff options
author | Amit Shah <amit.shah@redhat.com> | 2015-10-14 17:37:19 +0530 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-10-15 08:13:03 +0200 |
commit | 92e3762237475407fe03e1ccac6e30612ab96caf (patch) | |
tree | 2895816e01bde9abaecbd61ede9c09b52f1f61a8 /migration/qemu-file-internal.h | |
parent | ed1f3e0090069dcb9458aa9e450df12bf8eba0b0 (diff) |
migration: announce VM's new home just before VM is runnable
We were announcing the dest host's IP as our new IP a bit too soon -- if
there were errors detected after this announcement was done, the
migration is failed and the VM could continue running on the src host --
causing problems later.
Move around the qemu_announce_self() call so it's done just before the
VM is runnable.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file-internal.h')
0 files changed, 0 insertions, 0 deletions