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)
commit20c3ded40d58bacdb6a2526b515386df462eb1bb
tree0deeae86edf1a1010325d82e01e676064eb69285
parent83d2bc34f9597f0348facbab84ad97e062871f97
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