]> git.ipfire.org Git - thirdparty/qemu.git/commit
spice: add 'migrated' flag to spice info
authorYonit Halperin <yhalperi@redhat.com>
Tue, 21 Aug 2012 08:51:58 +0000 (11:51 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:58:29 +0000 (01:58 -0500)
commit38a01d68c6bad5a4d9859aaa3a40c6c5df4b799e
treec074bb09316f1aa133b64d61605c19cece476bdf
parent986b9a1a2ae917a61ba4016c71e0505750202985
spice: add 'migrated' flag to spice info

The flag is 'true' when spice migration has completed on the src side.
It is needed for a case where libvirt dies before migration completes
and it misses the event QEVENT_SPICE_MIGRATE_COMPLETED.
When libvirt is restored and queries the migration status, it also needs
to query spice and check if its migration has completed.

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 61c4efe2cb85b0a9c6bc68f6a2dd107c8d7ec080)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hmp.c
qapi-schema.json
ui/spice-core.c