]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't explicitly stop CPUs after migration
authorJiri Denemark <jdenemar@redhat.com>
Tue, 5 Jan 2016 21:19:28 +0000 (22:19 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 8 Mar 2016 15:25:59 +0000 (16:25 +0100)
commit315808e99ec09d3894e79007728a70d891b5e02e
tree706f1f9d746243a92374ebec30ee2be8f4c2844c
parent5d01e8666b8119779d11f0aa58b8521d14a164ea
qemu: Don't explicitly stop CPUs after migration

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 a libvirt event.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c
src/qemu/qemu_process.c