[Spice-commits] Branch 'spice.kvm.v11' - hw/qxl.c

Gerd Hoffmann kraxel at kemper.freedesktop.org
Thu Jul 8 09:04:15 PDT 2010


 hw/qxl.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 629a7342a52e1eb924d9845f0a88234462fea28e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Thu Jul 8 17:51:09 2010 +0200

    qxl: support QXL_IO_DESTROY_ALL_SURFACES

diff --git a/hw/qxl.c b/hw/qxl.c
index 28d66a3..ab1587a 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -930,6 +930,9 @@ static void ioport_write(void *opaque, uint32_t addr, uint32_t val)
     case QXL_IO_DESTROY_SURFACE_WAIT:
         d->ssd.worker->destroy_surface_wait(d->ssd.worker, val);
         break;
+    case QXL_IO_DESTROY_ALL_SURFACES:
+        d->ssd.worker->destroy_surfaces(d->ssd.worker);
+        break;
     default:
         fprintf(stderr, "%s: ioport=0x%x, abort()\n", __FUNCTION__, io_port);
         abort();


More information about the Spice-commits mailing list