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,&memslot);
+        qemu_spice_add_memslot(&d->ssd,&memslot);

Do we still need this and the simliar patches? Given that we don't call qemu_spice_add_memslot() from another thread any more we could just pass in a async flag to qxl_add_memslot().

cheers,
  Gerd


Reply via email to