Re: [Qemu-devel] [PATCH 3/5] qxl: support concurrent async commands

2011-10-25 Thread Alon Levy
On Mon, Oct 24, 2011 at 05:26:11PM +0200, Gerd Hoffmann wrote: Hi, +SpiceAsyncCommand *push_spice_async_command(PCIQXLDevice *qxl, +uint32_t async_io, int size) +/* caller must call g_free */ +static SpiceAsyncCommand *pop_spice_async_command(PCIQXLDevice *qxl, +

[Qemu-devel] [PATCH 3/5] qxl: support concurrent async commands

2011-10-24 Thread Alon Levy
change the single pending current_async to a linked list of pending SpiceAsyncCommand. Signed-off-by: Alon Levy al...@redhat.com --- hw/qxl-render.c|2 +- hw/qxl.c | 145 +++- hw/qxl.h | 29 +--

Re: [Qemu-devel] [PATCH 3/5] qxl: support concurrent async commands

2011-10-24 Thread Gerd Hoffmann
Hi, +SpiceAsyncCommand *push_spice_async_command(PCIQXLDevice *qxl, +uint32_t async_io, int size) +/* caller must call g_free */ +static SpiceAsyncCommand *pop_spice_async_command(PCIQXLDevice *qxl, + uint64_t cookie) +{ push/pop