]> git.ipfire.org Git - thirdparty/qemu.git/commit
spice: notify spice server on vm start/stop
authorYonit Halperin <yhalperi@redhat.com>
Tue, 21 Aug 2012 08:51:55 +0000 (11:51 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:58:28 +0000 (01:58 -0500)
commitfc24f3bd2ed4c97c99ad40e747732ae46dff2009
treea8174683969ea2d37c8e8127fbf2e13e35083c41
parent3c82758f04af24d3f642c0b808689d0cb26840aa
spice: notify spice server on vm start/stop

Spice server needs to know about the vm state in order to prevent
attempts to write to devices when they are stopped, mainly during
the non-live stage of migration.
Instead, spice will take care of restoring this writes, on the migration
target side, after migration completes.

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

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