Re: [Qemu-devel] [PATCH] qxl: move qemu_spice_add_memslot call out of qxl_add_memslot

2011-07-07 Thread Alon Levy
On Thu, Jul 07, 2011 at 09:39:34AM +0200, Gerd Hoffmann wrote: > Hi, > > >-static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t > >delta) > >+static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t > >delta, > >+QXLDevMemSlot *mems

Re: [Qemu-devel] [PATCH] qxl: move qemu_spice_add_memslot call out of qxl_add_memslot

2011-07-07 Thread Gerd Hoffmann
Hi, -static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t delta) +static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t delta, +QXLDevMemSlot *memslot) -qxl_add_memslot(d, val, 0); +qxl_add_memslot(d, val, 0,&m

[Qemu-devel] [PATCH] qxl: move qemu_spice_add_memslot call out of qxl_add_memslot

2011-07-06 Thread Alon Levy
From: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/qxl.c | 40 1 files changed, 24 insertions(+), 16 deletions(-) diff --git a/hw/qxl.c b/hw/qxl.c index bbba25d..26f80d5 100644 --- a/hw/qxl.c +++ b/hw/qxl.c @@ -735,7 +735,8 @@ static void qxl_vga