]> git.proxmox.com Git - qemu.git/commit - hmp.c
spice: add 'migrated' flag to spice info
authorYonit Halperin <yhalperi@redhat.com>
Tue, 21 Aug 2012 08:51:58 +0000 (11:51 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2012 15:11:55 +0000 (17:11 +0200)
commit61c4efe2cb85b0a9c6bc68f6a2dd107c8d7ec080
tree7fb8d0359bb5e8d34e0cb17a7fea20aed64f44c9
parent2fdd16e239c2a2763aa3266e637718123328688c
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>
hmp.c
qapi-schema.json
ui/spice-core.c