Re: How to detect completion of a paused VM migration on the destination?

2020-01-22 Thread Milan Zamazal
Michal Privoznik writes: > On 1/21/20 3:28 PM, Milan Zamazal wrote: >> Hi, >> > >> when a normally running VM is migrated, libvirt sends >> VIR_DOMAIN_EVENT_RESUMED_MIGRATED event on the destination once the >> migration completes. I can see that when a paused VM is migrated, >> libvirt sends

Re: How to detect completion of a paused VM migration on the destination?

2020-01-22 Thread Michal Privoznik
On 1/21/20 3:28 PM, Milan Zamazal wrote: Hi, when a normally running VM is migrated, libvirt sends VIR_DOMAIN_EVENT_RESUMED_MIGRATED event on the destination once the migration completes. I can see that when a paused VM is migrated, libvirt sends VIR_DOMAIN_EVENT_SUSPENDED_PAUSED instead.

How to detect completion of a paused VM migration on the destination?

2020-01-21 Thread Milan Zamazal
Hi, when a normally running VM is migrated, libvirt sends VIR_DOMAIN_EVENT_RESUMED_MIGRATED event on the destination once the migration completes. I can see that when a paused VM is migrated, libvirt sends VIR_DOMAIN_EVENT_SUSPENDED_PAUSED instead. Since there seems to be nothing migration