]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: wait for SPICE to migrate
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Sep 2012 09:15:31 +0000 (11:15 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Sep 2012 09:42:59 +0000 (11:42 +0200)
commit3521cd1c328c1ac3437e6953cf05bf108ce056ab
tree323ec6dcc0778b9be7a7bfeed11d7c2774ef7cca
parent6a7b6632035c2a32aaa107ff246d8a3e318b00b1
qemu: wait for SPICE to migrate

Recently, there have been some improvements made to qemu so it
supports seamless migration or something very close to it.
However, it requires libvirt interaction. Once qemu is migrated,
the SPICE server needs to send its internal state to the destination.
Once it's done, it fires SPICE_MIGRATE_COMPLETED event and this
fact is advertised in 'query-spice' output as well.
We must not kill qemu until SPICE server finishes the transfer.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h