spice: don't update mm_time when spice-server is stopped.
commit641381c1fcd66ea8de07ecfcd733089da26cbba9
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 12 May 2015 09:54:34 +0000 (12 11:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 29 May 2015 07:56:01 +0000 (29 09:56 +0200)
treefdea004f85ee6034b334e5dc30f65afa9c870f7e
parente95e203c085b7731746e39c9b9f8bd2f6eaa0cd6
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>
hw/display/qxl.c
ui/spice-core.c