Re: [Qemu-devel] [PATCH] qxl: async I/O

2011-07-07 Thread Alon Levy
On Thu, Jul 07, 2011 at 09:47:52AM +0200, Gerd Hoffmann wrote: > Hi, > > >+void qxl_spice_update_area_async(PCIQXLDevice *qxl, uint32_t surface_id, > >+ struct QXLRect *area, struct QXLRect > >*dirty_rects, > >+ uint32_t num_dirty_rects, uint3

Re: [Qemu-devel] [PATCH] qxl: async I/O

2011-07-07 Thread Gerd Hoffmann
Hi, +void qxl_spice_update_area_async(PCIQXLDevice *qxl, uint32_t surface_id, + struct QXLRect *area, struct QXLRect *dirty_rects, + uint32_t num_dirty_rects, uint32_t clear_dirty_region, + int async) +{ +qemu_m

[Qemu-devel] [PATCH] qxl: async I/O

2011-07-06 Thread Alon Levy
From: Gerd Hoffmann 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 comm