diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-20 12:20:58 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-03 12:03:01 +0200 |
commit | 5ff4e36c804157bd84af43c139f8cd3a59722db9 (patch) | |
tree | 0deeae86edf1a1010325d82e01e676064eb69285 /hw/qxl-render.c | |
parent | e21a298a7b7a5c5e8edc4912dec3b497497c347d (diff) |
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 <kraxel@redhat.com>
Signed-off-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'hw/qxl-render.c')
-rw-r--r-- | hw/qxl-render.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |