Displaying 2 results from an estimated 2 matches for "_cancel_".
Did you mean:
_cancel
2014 Jan 08
2
Canceling a live migration via virsh? (QEMU/KVM)
...m using QEMU/KVM, using Live Migrations like this:
virsh migrate --live ${name} qemu+ssh://${DESTINATION}/system
My question, running this command makes it hang in the foreground. Is
there a way for this to return immediately, so I can just poll for the
migration status? Also, is there a way to _cancel_ a migration? I see
the --timeout option, however if a given timeout is reached I would
rather have the ability to cancel the migration than force the suspend.
I do see there is a QEMU api migrate_cancel..eg:
virsh qemu-monitor-command ${name} --pretty '{"execute":"migrate_can...
2014 Jan 08
0
Re: Canceling a live migration via virsh? (QEMU/KVM)
.... Is
> there a way for this to return immediately, so I can just poll for the
> migration status?
Not at the moment, but it might be worth adding a 'migrate --detach'
flag for that purpose, then using job control commands to track progress
independently.
> Also, is there a way to _cancel_ a migration?
Hit Ctrl-C (or any other approach for sending SIGINT to virsh).
> I see
> the --timeout option, however if a given timeout is reached I would
> rather have the ability to cancel the migration than force the suspend.
>
> I do see there is a QEMU api migrate_cancel..eg:...