Displaying 2 results from an estimated 2 matches for "virdomainabortjob".
2014 Jan 08
2
Canceling a live migration via virsh? (QEMU/KVM)
I am 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
2014 Jan 08
0
Re: Canceling a live migration via virsh? (QEMU/KVM)
...>
> virsh qemu-monitor-command ${name} --pretty '{"execute":"migrate_cancel"}'
>
> Is that the only way to cancel a migration using libvirt?
That way is unsupported. The supported way (and the way used by ctrl-C
during 'virsh migrate') is to call virDomainAbortJob().
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <htt...