When completed, get can the info: Migration status: completed. The source VM will stop at the end.
1 2 3 4 5
(qemu) help migrate migrate [-d] [-b] [-i] [-r] uri -- migrate to URI (using -d to not wait for completion) -b for migration without shared storage with full copy of disk -i for migration without shared storage with incremental copy of disk (base image shared between src and destination) -r to resume a paused migration
The ‘-d’ will let you query the status of the migration. With no ‘-d’ the monitor prompt returns when the migration completes.