Blame 0012-spice-add-worker-wrapper-functions.patch

Justin M. Forbes fc5c27
>From 67d29af45ebb1539eaaa2bfb599350c790306111 Mon Sep 17 00:00:00 2001
Justin M. Forbes 13f703
From: Gerd Hoffmann <kraxel@redhat.com>
Justin M. Forbes 13f703
Date: Fri, 17 Jun 2011 10:34:25 +0200
Justin M. Forbes fc5c27
Subject: [PATCH 12/28] spice: add worker wrapper functions.
Justin M. Forbes 13f703
Justin M. Forbes 13f703
Add wrapper functions for all spice worker calls.
Justin M. Forbes 13f703
Justin M. Forbes 13f703
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Justin M. Forbes 13f703
---
Justin M. Forbes 13f703
 hw/qxl-render.c    |    4 +-
Justin M. Forbes 13f703
 hw/qxl.c           |   32 +++++++++---------
Justin M. Forbes 13f703
 ui/spice-display.c |   95 ++++++++++++++++++++++++++++++++++++++++++++++++---
Justin M. Forbes 13f703
 ui/spice-display.h |   22 ++++++++++++
Justin M. Forbes 13f703
 4 files changed, 129 insertions(+), 24 deletions(-)
Justin M. Forbes 13f703
Justin M. Forbes 13f703
diff --git a/hw/qxl-render.c b/hw/qxl-render.c
Justin M. Forbes 13f703
index 1316066..bef5f14 100644
Justin M. Forbes 13f703
--- a/hw/qxl-render.c
Justin M. Forbes 13f703
+++ b/hw/qxl-render.c
Justin M. Forbes 13f703
@@ -124,8 +124,8 @@ void qxl_render_update(PCIQXLDevice *qxl)
Justin M. Forbes 13f703
     update.bottom = qxl->guest_primary.surface.height;
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     memset(dirty, 0, sizeof(dirty));
Justin M. Forbes 13f703
-    qxl->ssd.worker->update_area(qxl->ssd.worker, 0, &update,
Justin M. Forbes 13f703
-                                 dirty, ARRAY_SIZE(dirty), 1);
Justin M. Forbes 13f703
+    qemu_spice_update_area(&qxl->ssd, 0, &update,
Justin M. Forbes 13f703
+                           dirty, ARRAY_SIZE(dirty), 1);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     for (i = 0; i < ARRAY_SIZE(dirty); i++) {
Justin M. Forbes 13f703
         if (qemu_spice_rect_is_empty(dirty+i)) {
Justin M. Forbes 13f703
diff --git a/hw/qxl.c b/hw/qxl.c
Justin M. Forbes 13f703
index a6fb7f0..5deb776 100644
Justin M. Forbes 13f703
--- a/hw/qxl.c
Justin M. Forbes 13f703
+++ b/hw/qxl.c
Justin M. Forbes 13f703
@@ -684,8 +684,8 @@ static void qxl_hard_reset(PCIQXLDevice *d, int loadvm)
Justin M. Forbes 13f703
     dprint(d, 1, "%s: start%s\n", __FUNCTION__,
Justin M. Forbes 13f703
            loadvm ? " (loadvm)" : "");
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
-    d->ssd.worker->reset_cursor(d->ssd.worker);
Justin M. Forbes 13f703
-    d->ssd.worker->reset_image_cache(d->ssd.worker);
Justin M. Forbes 13f703
+    qemu_spice_reset_cursor(&d->ssd);
Justin M. Forbes 13f703
+    qemu_spice_reset_image_cache(&d->ssd);
Justin M. Forbes 13f703
     qxl_reset_surfaces(d);
Justin M. Forbes 13f703
     qxl_reset_memslots(d);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
@@ -790,7 +790,7 @@ static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t delta)
Justin M. Forbes 13f703
            __FUNCTION__, memslot.slot_id,
Justin M. Forbes 13f703
            memslot.virt_start, memslot.virt_end);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
-    d->ssd.worker->add_memslot(d->ssd.worker, &memslot);
Justin M. Forbes 13f703
+    qemu_spice_add_memslot(&d->ssd, &memslot);
Justin M. Forbes 13f703
     d->guest_slots[slot_id].ptr = (void*)memslot.virt_start;
Justin M. Forbes 13f703
     d->guest_slots[slot_id].size = memslot.virt_end - memslot.virt_start;
Justin M. Forbes 13f703
     d->guest_slots[slot_id].delta = delta;
Justin M. Forbes 13f703
@@ -800,14 +800,14 @@ static void qxl_add_memslot(PCIQXLDevice *d, uint32_t slot_id, uint64_t delta)
Justin M. Forbes 13f703
 static void qxl_del_memslot(PCIQXLDevice *d, uint32_t slot_id)
Justin M. Forbes 13f703
 {
Justin M. Forbes 13f703
     dprint(d, 1, "%s: slot %d\n", __FUNCTION__, slot_id);
Justin M. Forbes 13f703
-    d->ssd.worker->del_memslot(d->ssd.worker, MEMSLOT_GROUP_HOST, slot_id);
Justin M. Forbes 13f703
+    qemu_spice_del_memslot(&d->ssd, MEMSLOT_GROUP_HOST, slot_id);
Justin M. Forbes 13f703
     d->guest_slots[slot_id].active = 0;
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
 static void qxl_reset_memslots(PCIQXLDevice *d)
Justin M. Forbes 13f703
 {
Justin M. Forbes 13f703
     dprint(d, 1, "%s:\n", __FUNCTION__);
Justin M. Forbes 13f703
-    d->ssd.worker->reset_memslots(d->ssd.worker);
Justin M. Forbes 13f703
+    qemu_spice_reset_memslots(&d->ssd);
Justin M. Forbes 13f703
     memset(&d->guest_slots, 0, sizeof(d->guest_slots));
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
@@ -815,7 +815,7 @@ static void qxl_reset_surfaces(PCIQXLDevice *d)
Justin M. Forbes 13f703
 {
Justin M. Forbes 13f703
     dprint(d, 1, "%s:\n", __FUNCTION__);
Justin M. Forbes 13f703
     d->mode = QXL_MODE_UNDEFINED;
Justin M. Forbes 13f703
-    d->ssd.worker->destroy_surfaces(d->ssd.worker);
Justin M. Forbes 13f703
+    qemu_spice_destroy_surfaces(&d->ssd);
Justin M. Forbes 13f703
     memset(&d->guest_surfaces.cmds, 0, sizeof(d->guest_surfaces.cmds));
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
@@ -869,7 +869,7 @@ static void qxl_create_guest_primary(PCIQXLDevice *qxl, int loadvm)
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     qxl->mode = QXL_MODE_NATIVE;
Justin M. Forbes 13f703
     qxl->cmdflags = 0;
Justin M. Forbes 13f703
-    qxl->ssd.worker->create_primary_surface(qxl->ssd.worker, 0, &surface);
Justin M. Forbes 13f703
+    qemu_spice_create_primary_surface(&qxl->ssd, 0, &surface);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     /* for local rendering */
Justin M. Forbes 13f703
     qxl_render_resize(qxl);
Justin M. Forbes 13f703
@@ -884,7 +884,7 @@ static void qxl_destroy_primary(PCIQXLDevice *d)
Justin M. Forbes 13f703
     dprint(d, 1, "%s\n", __FUNCTION__);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     d->mode = QXL_MODE_UNDEFINED;
Justin M. Forbes 13f703
-    d->ssd.worker->destroy_primary_surface(d->ssd.worker, 0);
Justin M. Forbes 13f703
+    qemu_spice_destroy_primary_surface(&d->ssd, 0);
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
 static void qxl_set_mode(PCIQXLDevice *d, int modenr, int loadvm)
Justin M. Forbes 13f703
@@ -956,15 +956,15 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
Justin M. Forbes 13f703
     case QXL_IO_UPDATE_AREA:
Justin M. Forbes 13f703
     {
Justin M. Forbes 13f703
         QXLRect update = d->ram->update_area;
Justin M. Forbes 13f703
-        d->ssd.worker->update_area(d->ssd.worker, d->ram->update_surface,
Justin M. Forbes 13f703
-                                   &update, NULL, 0, 0);
Justin M. Forbes 13f703
+        qemu_spice_update_area(&d->ssd, d->ram->update_surface,
Justin M. Forbes 13f703
+                               &update, NULL, 0, 0);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     }
Justin M. Forbes 13f703
     case QXL_IO_NOTIFY_CMD:
Justin M. Forbes 13f703
-        d->ssd.worker->wakeup(d->ssd.worker);
Justin M. Forbes 13f703
+        qemu_spice_wakeup(&d->ssd);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     case QXL_IO_NOTIFY_CURSOR:
Justin M. Forbes 13f703
-        d->ssd.worker->wakeup(d->ssd.worker);
Justin M. Forbes 13f703
+        qemu_spice_wakeup(&d->ssd);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     case QXL_IO_UPDATE_IRQ:
Justin M. Forbes 13f703
         qxl_set_irq(d);
Justin M. Forbes 13f703
@@ -978,7 +978,7 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
Justin M. Forbes 13f703
             break;
Justin M. Forbes 13f703
         }
Justin M. Forbes 13f703
         d->oom_running = 1;
Justin M. Forbes 13f703
-        d->ssd.worker->oom(d->ssd.worker);
Justin M. Forbes 13f703
+        qemu_spice_oom(&d->ssd);
Justin M. Forbes 13f703
         d->oom_running = 0;
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     case QXL_IO_SET_MODE:
Justin M. Forbes 13f703
@@ -1016,10 +1016,10 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
Justin M. Forbes 13f703
         qxl_destroy_primary(d);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     case QXL_IO_DESTROY_SURFACE_WAIT:
Justin M. Forbes 13f703
-        d->ssd.worker->destroy_surface_wait(d->ssd.worker, val);
Justin M. Forbes 13f703
+        qemu_spice_destroy_surface_wait(&d->ssd, val);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     case QXL_IO_DESTROY_ALL_SURFACES:
Justin M. Forbes 13f703
-        d->ssd.worker->destroy_surfaces(d->ssd.worker);
Justin M. Forbes 13f703
+        qemu_spice_destroy_surfaces(&d->ssd);
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
     default:
Justin M. Forbes 13f703
         fprintf(stderr, "%s: ioport=0x%x, abort()\n", __FUNCTION__, io_port);
Justin M. Forbes 13f703
@@ -1424,7 +1424,7 @@ static int qxl_post_load(void *opaque, int version)
Justin M. Forbes 13f703
         cmds[out].cmd.type = QXL_CMD_CURSOR;
Justin M. Forbes 13f703
         cmds[out].group_id = MEMSLOT_GROUP_GUEST;
Justin M. Forbes 13f703
         out++;
Justin M. Forbes 13f703
-        d->ssd.worker->loadvm_commands(d->ssd.worker, cmds, out);
Justin M. Forbes 13f703
+        qemu_spice_loadvm_commands(&d->ssd, cmds, out);
Justin M. Forbes 13f703
         qemu_free(cmds);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
         break;
Justin M. Forbes 13f703
diff --git a/ui/spice-display.c b/ui/spice-display.c
Justin M. Forbes 13f703
index feeee73..1e6a38f 100644
Justin M. Forbes 13f703
--- a/ui/spice-display.c
Justin M. Forbes 13f703
+++ b/ui/spice-display.c
Justin M. Forbes 13f703
@@ -62,6 +62,89 @@ void qemu_spice_rect_union(QXLRect *dest, const QXLRect *r)
Justin M. Forbes 13f703
     dest->right = MAX(dest->right, r->right);
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_update_area(SimpleSpiceDisplay *ssd, uint32_t surface_id,
Justin M. Forbes 13f703
+                            struct QXLRect *area, struct QXLRect *dirty_rects,
Justin M. Forbes 13f703
+                            uint32_t num_dirty_rects,
Justin M. Forbes 13f703
+                            uint32_t clear_dirty_region)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->update_area(ssd->worker, surface_id, area, dirty_rects,
Justin M. Forbes 13f703
+                             num_dirty_rects, clear_dirty_region);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_add_memslot(SimpleSpiceDisplay *ssd, QXLDevMemSlot *memslot)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->add_memslot(ssd->worker, memslot);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_del_memslot(SimpleSpiceDisplay *ssd, uint32_t gid, uint32_t sid)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->del_memslot(ssd->worker, gid, sid);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_create_primary_surface(SimpleSpiceDisplay *ssd, uint32_t id,
Justin M. Forbes 13f703
+                                       QXLDevSurfaceCreate *surface)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->create_primary_surface(ssd->worker, id, surface);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_destroy_primary_surface(SimpleSpiceDisplay *ssd, uint32_t id)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->destroy_primary_surface(ssd->worker, id);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_destroy_surface_wait(SimpleSpiceDisplay *ssd, uint32_t id)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->destroy_surface_wait(ssd->worker, id);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_loadvm_commands(SimpleSpiceDisplay *ssd,
Justin M. Forbes 13f703
+                                struct QXLCommandExt *ext, uint32_t count)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->loadvm_commands(ssd->worker, ext, count);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_wakeup(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->wakeup(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_oom(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->oom(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_start(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->start(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_stop(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->stop(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_reset_memslots(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->reset_memslots(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_destroy_surfaces(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->destroy_surfaces(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_reset_image_cache(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->reset_image_cache(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_reset_cursor(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
+{
Justin M. Forbes 13f703
+    ssd->worker->reset_cursor(ssd->worker);
Justin M. Forbes 13f703
+}
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
 static SimpleSpiceUpdate *qemu_spice_create_update(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
 {
Justin M. Forbes 13f703
     SimpleSpiceUpdate *update;
Justin M. Forbes 13f703
@@ -161,7 +244,7 @@ void qemu_spice_create_host_memslot(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
     memset(&memslot, 0, sizeof(memslot));
Justin M. Forbes 13f703
     memslot.slot_group_id = MEMSLOT_GROUP_HOST;
Justin M. Forbes 13f703
     memslot.virt_end = ~0;
Justin M. Forbes 13f703
-    ssd->worker->add_memslot(ssd->worker, &memslot);
Justin M. Forbes 13f703
+    qemu_spice_add_memslot(ssd, &memslot);
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
 void qemu_spice_create_host_primary(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
@@ -181,14 +264,14 @@ void qemu_spice_create_host_primary(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
     surface.mem        = (intptr_t)ssd->buf;
Justin M. Forbes 13f703
     surface.group_id   = MEMSLOT_GROUP_HOST;
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
-    ssd->worker->create_primary_surface(ssd->worker, 0, &surface);
Justin M. Forbes 13f703
+    qemu_spice_create_primary_surface(ssd, 0, &surface);
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
 void qemu_spice_destroy_host_primary(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
 {
Justin M. Forbes 13f703
     dprint(1, "%s:\n", __FUNCTION__);
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
-    ssd->worker->destroy_primary_surface(ssd->worker, 0);
Justin M. Forbes 13f703
+    qemu_spice_destroy_primary_surface(ssd, 0);
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
 void qemu_spice_vm_change_state_handler(void *opaque, int running, int reason)
Justin M. Forbes 13f703
@@ -196,9 +279,9 @@ void qemu_spice_vm_change_state_handler(void *opaque, int running, int reason)
Justin M. Forbes 13f703
     SimpleSpiceDisplay *ssd = opaque;
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     if (running) {
Justin M. Forbes 13f703
-        ssd->worker->start(ssd->worker);
Justin M. Forbes 13f703
+        qemu_spice_start(ssd);
Justin M. Forbes 13f703
     } else {
Justin M. Forbes 13f703
-        ssd->worker->stop(ssd->worker);
Justin M. Forbes 13f703
+        qemu_spice_stop(ssd);
Justin M. Forbes 13f703
     }
Justin M. Forbes 13f703
     ssd->running = running;
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
@@ -267,7 +350,7 @@ void qemu_spice_display_refresh(SimpleSpiceDisplay *ssd)
Justin M. Forbes 13f703
 
Justin M. Forbes 13f703
     if (ssd->notify) {
Justin M. Forbes 13f703
         ssd->notify = 0;
Justin M. Forbes 13f703
-        ssd->worker->wakeup(ssd->worker);
Justin M. Forbes 13f703
+        qemu_spice_wakeup(ssd);
Justin M. Forbes 13f703
         dprint(2, "%s: notify\n", __FUNCTION__);
Justin M. Forbes 13f703
     }
Justin M. Forbes 13f703
 }
Justin M. Forbes 13f703
diff --git a/ui/spice-display.h b/ui/spice-display.h
Justin M. Forbes 13f703
index 2f95f68..5b06b11 100644
Justin M. Forbes 13f703
--- a/ui/spice-display.h
Justin M. Forbes 13f703
+++ b/ui/spice-display.h
Justin M. Forbes 13f703
@@ -80,3 +80,25 @@ void qemu_spice_display_update(SimpleSpiceDisplay *ssd,
Justin M. Forbes 13f703
                                int x, int y, int w, int h);
Justin M. Forbes 13f703
 void qemu_spice_display_resize(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
 void qemu_spice_display_refresh(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+
Justin M. Forbes 13f703
+void qemu_spice_update_area(SimpleSpiceDisplay *ssd, uint32_t surface_id,
Justin M. Forbes 13f703
+                            struct QXLRect *area, struct QXLRect *dirty_rects,
Justin M. Forbes 13f703
+                            uint32_t num_dirty_rects,
Justin M. Forbes 13f703
+                            uint32_t clear_dirty_region);
Justin M. Forbes 13f703
+void qemu_spice_add_memslot(SimpleSpiceDisplay *ssd, QXLDevMemSlot *memslot);
Justin M. Forbes 13f703
+void qemu_spice_del_memslot(SimpleSpiceDisplay *ssd, uint32_t gid,
Justin M. Forbes 13f703
+                            uint32_t sid);
Justin M. Forbes 13f703
+void qemu_spice_create_primary_surface(SimpleSpiceDisplay *ssd, uint32_t id,
Justin M. Forbes 13f703
+                                       QXLDevSurfaceCreate *surface);
Justin M. Forbes 13f703
+void qemu_spice_destroy_primary_surface(SimpleSpiceDisplay *ssd, uint32_t id);
Justin M. Forbes 13f703
+void qemu_spice_destroy_surface_wait(SimpleSpiceDisplay *ssd, uint32_t id);
Justin M. Forbes 13f703
+void qemu_spice_loadvm_commands(SimpleSpiceDisplay *ssd,
Justin M. Forbes 13f703
+                                struct QXLCommandExt *ext, uint32_t count);
Justin M. Forbes 13f703
+void qemu_spice_wakeup(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_oom(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_start(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_stop(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_reset_memslots(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_destroy_surfaces(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_reset_image_cache(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
+void qemu_spice_reset_cursor(SimpleSpiceDisplay *ssd);
Justin M. Forbes 13f703
-- 
Justin M. Forbes 13f703
1.7.5.1
Justin M. Forbes 13f703