From: Alon Levy Date: Wed, 18 Apr 2012 09:27:00 +0000 (+0300) Subject: qxl-render: fix broken vnc+spice since commit f934493 X-Git-Tag: v1.1-rc0~90^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06ddea49f8127bd055dbc7e83df896d9311c88cc;p=thirdparty%2Fqemu.git qxl-render: fix broken vnc+spice since commit f934493 Notify any listeners such as vnc that the displaysurface has been changed, otherwise they will segfault when first accessing the freed old displaysurface data. Signed-off-by: Alon Levy Signed-off-by: Gerd Hoffmann --- diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 28ab182226a..f7f1bfda04c 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -127,6 +127,7 @@ static void qxl_render_update_area_unlocked(PCIQXLDevice *qxl) qxl->guest_primary.surface.width, qxl->guest_primary.surface.height); } + dpy_resize(vga->ds); } for (i = 0; i < qxl->num_dirty_rects; i++) { if (qemu_spice_rect_is_empty(qxl->dirty+i)) {