Re: [Qemu-devel] [PATCHv3] qxl: QXL_IO_UPDATE_AREA: pass ram-update_area directly to update_area

2011-07-13 Thread Gerd Hoffmann
Hi, -QXLRect update = d-ram-update_area; qxl_spice_update_area(d, d-ram-update_surface, -update, NULL, 0, 0); +d-ram-update_area, NULL, 0, 1); No, -ESECURITY. With this in place the guest can change the update rect while spice-server is working with it. cheers, Gerd

Re: [Qemu-devel] [PATCHv3] qxl: QXL_IO_UPDATE_AREA: pass ram-update_area directly to update_area

2011-07-13 Thread Alon Levy
On Wed, Jul 13, 2011 at 08:56:27AM +0200, Gerd Hoffmann wrote: Hi, -QXLRect update = d-ram-update_area; qxl_spice_update_area(d, d-ram-update_surface, -update, NULL, 0, 0); +d-ram-update_area, NULL, 0, 1); No, -ESECURITY. With this in place the guest can change the

[Qemu-devel] [PATCHv3] qxl: QXL_IO_UPDATE_AREA: pass ram-update_area directly to update_area

2011-07-12 Thread Alon Levy
--- hw/qxl.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index 17b5b39..6094b38 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -136,7 +136,6 @@ void qxl_guest_bug(PCIQXLDevice *qxl, const char *msg, ...) } } - void