From 5ff4e36c804157bd84af43c139f8cd3a59722db9 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 20 Jul 2011 12:20:58 +0300 Subject: qxl: async io support using new spice api Some of the QXL port i/o commands are waiting for the spice server to complete certain actions. Add async versions for these commands, so we don't block the vcpu while the spice server processses the command. Instead the qxl device will raise an IRQ when done. The async command processing relies on an added QXLInterface::async_complete and added QXLWorker::*_async additions, in spice server qxl >= 3.1 Signed-off-by: Gerd Hoffmann Signed-off-by: Alon Levy --- hw/qxl-render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/qxl-render.c') diff --git a/hw/qxl-render.c b/hw/qxl-render.c index 60b822d8c0..643ff2d841 100644 --- a/hw/qxl-render.c +++ b/hw/qxl-render.c @@ -125,7 +125,7 @@ void qxl_render_update(PCIQXLDevice *qxl) memset(dirty, 0, sizeof(dirty)); qxl_spice_update_area(qxl, 0, &update, - dirty, ARRAY_SIZE(dirty), 1); + dirty, ARRAY_SIZE(dirty), 1, QXL_SYNC); for (i = 0; i < ARRAY_SIZE(dirty); i++) { if (qemu_spice_rect_is_empty(dirty+i)) { -- cgit v1.2.1