Re: [libvirt] [PATCH v2 3/7] qemu: Don't explicitly stop CPUs after migration

2016-03-07 Thread Peter Krempa
On Tue, Mar 01, 2016 at 13:55:29 +0100, Jiri Denemark wrote: > With a very old QEMU which doesn't support events we need to explicitly > call qemuMigrationSetOffline at the end of migration to update our > internal state. On the other hand, if we talk to QEMU using QMP, we > should just wait for

[libvirt] [PATCH v2 3/7] qemu: Don't explicitly stop CPUs after migration

2016-03-01 Thread Jiri Denemark
With a very old QEMU which doesn't support events we need to explicitly call qemuMigrationSetOffline at the end of migration to update our internal state. On the other hand, if we talk to QEMU using QMP, we should just wait for the STOP event and let the event handler update the state and trigger