diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-04-27 13:55:28 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-05-07 11:47:57 +0200 |
commit | 5bd5c27c7d284d01477c5cc022ce22438c46bf9f (patch) | |
tree | c472f85639623adb17f39105a75c41b343ce5306 /dma-helpers.c | |
parent | c8b7e627b4269a3bc3ae41d9f420547a47e6d9b9 (diff) | |
download | qemu-5bd5c27c7d284d01477c5cc022ce22438c46bf9f.zip qemu-5bd5c27c7d284d01477c5cc022ce22438c46bf9f.tar.gz qemu-5bd5c27c7d284d01477c5cc022ce22438c46bf9f.tar.bz2 |
qxl: fix local renderer crash
Make sure we only ask the spice local renderer for display updates in
case we have a valid primary surface. Without that spice is confused
and throws errors in case a display update request (triggered by
screendump for example) happens in parallel to a mode switch and hits
the race window where the old primary surface is gone and the new isn't
establisted yet.
Cc: qemu-stable@nongnu.org
Fixes: https://bugzilla.redhat.com//show_bug.cgi?id=1567733
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180427115528.345-1-kraxel@redhat.com
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions