Message ID | 1412960711-18636-1-git-send-email-marcandre.lureau@gmail.com |
---|---|
State | New |
Headers | show |
On Fr, 2014-10-10 at 19:05 +0200, Marc-André Lureau wrote: > a different patch series for the driver. However, it is simple enough > to keep qemu running on empty areas update, which is what this patch > provides. added to spice patch queue. thanks, Gerd
diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 93b3518..b540dd6 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -1591,6 +1591,11 @@ async_common: qxl_set_guest_bug(d, "QXL_IO_UPDATE_AREA: invalid area (%ux%u)x(%ux%u)\n", update.left, update.top, update.right, update.bottom); + if (update.left == update.right || update.top == update.bottom) { + /* old drivers may provide empty area, keep going */ + qxl_clear_guest_bug(d); + goto cancel_async; + } break; } if (async == QXL_ASYNC) {