]> Git Repo - qemu.git/commit - hw/display/qxl-render.c
qxl: fix local renderer crash
authorGerd Hoffmann <[email protected]>
Fri, 27 Apr 2018 11:55:28 +0000 (13:55 +0200)
committerGerd Hoffmann <[email protected]>
Mon, 7 May 2018 09:47:57 +0000 (11:47 +0200)
commit5bd5c27c7d284d01477c5cc022ce22438c46bf9f
treec472f85639623adb17f39105a75c41b343ce5306
parentc8b7e627b4269a3bc3ae41d9f420547a47e6d9b9
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: [email protected]
Fixes: https://bugzilla.redhat.com//show_bug.cgi?id=1567733
Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Message-id: 20180427115528[email protected]
hw/display/qxl-render.c
This page took 0.024397 seconds and 4 git commands to generate.