Canceling a live migration via virsh? (QEMU/KVM)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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_cancel"}'

Is that the only way to cancel a migration using libvirt?

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux