[Spice-devel] [PATCH xf86-qxl 09/27] spiceqxl_io_port: mark FLUSH_SURFACES_ASYNC as unimplemented, do half of it

Marc-André Lureau marcandre.lureau at gmail.com
Mon Jul 16 08:38:33 PDT 2012


From: Alon Levy <alevy at redhat.com>

---
 src/spiceqxl_io_port.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c
index f599b4e..9d92f93 100644
--- a/src/spiceqxl_io_port.c
+++ b/src/spiceqxl_io_port.c
@@ -275,6 +275,10 @@ void ioport_write(qxl_screen_t *qxl, uint32_t io_port, uint32_t val)
     case QXL_IO_DESTROY_ALL_SURFACES:
         qxl->worker->destroy_surfaces(qxl->worker);
         break;
+    case QXL_IO_FLUSH_SURFACES_ASYNC:
+        fprintf(stderr, "ERROR: async callback Unimplemented\n");
+        spice_qxl_flush_surfaces_async(&qxl->display_sin, 0);
+        break;
     default:
         fprintf(stderr, "%s: ioport=0x%x, abort()\n", __FUNCTION__, io_port);
         abort();
-- 
1.7.10.4



More information about the Spice-devel mailing list