]> git.proxmox.com Git - mirror_qemu.git/commit - ui/spice-display.c
qxl: async io support using new spice api
authorAlon Levy <alevy@redhat.com>
Wed, 20 Jul 2011 09:20:58 +0000 (12:20 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 3 Aug 2011 10:03:01 +0000 (12:03 +0200)
commit5ff4e36c804157bd84af43c139f8cd3a59722db9
tree0deeae86edf1a1010325d82e01e676064eb69285
parente21a298a7b7a5c5e8edc4912dec3b497497c347d
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>
hw/qxl-render.c
hw/qxl.c
hw/qxl.h
ui/spice-display.c
ui/spice-display.h