summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann2015-05-12 11:54:34 +0200
committerGerd Hoffmann2015-05-29 09:56:01 +0200
commit641381c1fcd66ea8de07ecfcd733089da26cbba9 (patch)
treefdea004f85ee6034b334e5dc30f65afa9c870f7e /ui
parentspice-char: notify the server when chardev is writable (diff)
downloadqemu-641381c1fcd66ea8de07ecfcd733089da26cbba9.tar.gz
qemu-641381c1fcd66ea8de07ecfcd733089da26cbba9.tar.xz
qemu-641381c1fcd66ea8de07ecfcd733089da26cbba9.zip
spice: don't update mm_time when spice-server is stopped.
Skip mm_time updates (in qxl device memory) in case the guest is stopped. Guest isn't able to look anyway, and it causes problems with migration. Also make sure the initial state for spice server is stopped. Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/spice-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c
index f00e0742b4..2e8384e653 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -804,6 +804,7 @@ void qemu_spice_init(void)
qemu_spice_audio_init();
qemu_add_vm_change_state_handler(vm_change_state_handler, NULL);
+ qemu_spice_display_stop();
g_free(x509_key_file);
g_free(x509_cert_file);