diff options
| author | Amit Shah | 2015-10-14 14:07:19 +0200 |
|---|---|---|
| committer | Juan Quintela | 2015-10-15 08:13:03 +0200 |
| commit | 92e3762237475407fe03e1ccac6e30612ab96caf (patch) | |
| tree | 2895816e01bde9abaecbd61ede9c09b52f1f61a8 /include/exec/user | |
| parent | Migration: Generate the completed event only when we complete (diff) | |
| download | qemu-92e3762237475407fe03e1ccac6e30612ab96caf.tar.gz qemu-92e3762237475407fe03e1ccac6e30612ab96caf.tar.xz qemu-92e3762237475407fe03e1ccac6e30612ab96caf.zip | |
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
