render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone

Blame 0210-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch

Hans de Goede c8dfc6
From cc8b6a27e848cb88a4df98d48517c5b658d70efc Mon Sep 17 00:00:00 2001
Hans de Goede c8dfc6
From: Alon Levy <alevy@redhat.com>
Hans de Goede c8dfc6
Date: Wed, 22 Aug 2012 11:16:25 +0300
Hans de Goede c8dfc6
Subject: [PATCH 210/215] qxl: add QXL_IO_MONITORS_CONFIG_ASYNC
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Revision bumped to 4 for new IO support, enabled for spice-server >=
Hans de Goede c8dfc6
0.11.1. New io enabled if revision is 4. Revision can be set to 4.
Hans de Goede c8dfc6
Hans de Goede c8dfc6
[ kraxel: 3 continues to be the default revision.  Once we have a new
Hans de Goede c8dfc6
          stable spice-server release and the qemu patches to enable
Hans de Goede c8dfc6
          the new bits merged we'll go flip the switch and make rev4
Hans de Goede c8dfc6
          the default ]
Hans de Goede c8dfc6
Hans de Goede c8dfc6
This io calls the corresponding new spice api
Hans de Goede c8dfc6
spice_qxl_monitors_config_async to let spice-server read a new guest set
Hans de Goede c8dfc6
monitors config and notify the client.
Hans de Goede c8dfc6
Hans de Goede c8dfc6
On migration reissue spice_qxl_monitors_config_async.
Hans de Goede c8dfc6
Hans de Goede c8dfc6
RHBZ: 770842
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Signed-off-by: Alon Levy <alevy@redhat.com>
Hans de Goede c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
Hans de Goede c8dfc6
fixup
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
---
Hans de Goede c8dfc6
 configure          |  7 ++++
Hans de Goede c8dfc6
 hw/qxl.c           | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++---
Hans de Goede c8dfc6
 hw/qxl.h           |  7 ++++
Hans de Goede c8dfc6
 trace-events       |  1 +
Hans de Goede c8dfc6
 ui/spice-display.h |  1 +
Hans de Goede c8dfc6
 5 files changed, 109 insertions(+), 4 deletions(-)
Hans de Goede c8dfc6
Hans de Goede c8dfc6
diff --git a/configure b/configure
Hans de Goede c8dfc6
index 9fc4fb5..c57d1c1 100755
Hans de Goede c8dfc6
--- a/configure
Hans de Goede c8dfc6
+++ b/configure
Hans de Goede c8dfc6
@@ -2711,6 +2711,9 @@ EOF
Hans de Goede c8dfc6
     spice="yes"
Hans de Goede c8dfc6
     libs_softmmu="$libs_softmmu $spice_libs"
Hans de Goede c8dfc6
     QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags"
Hans de Goede c8dfc6
+    if $pkg_config --atleast-version=0.12.0 spice-protocol >/dev/null 2>&1; then
Hans de Goede c8dfc6
+        spice_qxl_io_monitors_config_async="yes"
Hans de Goede c8dfc6
+    fi
Hans de Goede c8dfc6
   else
Hans de Goede c8dfc6
     if test "$spice" = "yes" ; then
Hans de Goede c8dfc6
       feature_not_found "spice"
Hans de Goede c8dfc6
@@ -3448,6 +3451,10 @@ if test "$spice" = "yes" ; then
Hans de Goede c8dfc6
   echo "CONFIG_SPICE=y" >> $config_host_mak
Hans de Goede c8dfc6
 fi
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+if test "$spice_qxl_io_monitors_config_async" = "yes" ; then
Hans de Goede c8dfc6
+  echo "CONFIG_QXL_IO_MONITORS_CONFIG_ASYNC=y" >> $config_host_mak
Hans de Goede c8dfc6
+fi
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
 if test "$smartcard" = "yes" ; then
Hans de Goede c8dfc6
   echo "CONFIG_SMARTCARD=y" >> $config_host_mak
Hans de Goede c8dfc6
 fi
Hans de Goede c8dfc6
diff --git a/hw/qxl.c b/hw/qxl.c
Hans de Goede c8dfc6
index d134a70..adf17fd 100644
Hans de Goede c8dfc6
--- a/hw/qxl.c
Hans de Goede c8dfc6
+++ b/hw/qxl.c
Hans de Goede c8dfc6
@@ -27,6 +27,11 @@
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 #include "qxl.h"
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+#ifndef CONFIG_QXL_IO_MONITORS_CONFIG_ASYNC
Hans de Goede c8dfc6
+/* spice-protocol is too old, add missing definitions */
Hans de Goede c8dfc6
+#define QXL_IO_MONITORS_CONFIG_ASYNC (QXL_IO_FLUSH_RELEASE + 1)
Hans de Goede c8dfc6
+#endif
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
 /*
Hans de Goede c8dfc6
  * NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as
Hans de Goede c8dfc6
  * such can be changed by the guest, so to avoid a guest trigerrable
Hans de Goede c8dfc6
@@ -249,6 +254,39 @@ static void qxl_spice_destroy_surfaces(PCIQXLDevice *qxl, qxl_async_io async)
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
 }
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+static void qxl_spice_monitors_config_async(PCIQXLDevice *qxl, int replay)
Hans de Goede c8dfc6
+{
Hans de Goede c8dfc6
+    trace_qxl_spice_monitors_config(qxl->id);
Hans de Goede c8dfc6
+/* 0x000b01 == 0.11.1 */
Hans de Goede c8dfc6
+#if SPICE_SERVER_VERSION >= 0x000b01 && \
Hans de Goede c8dfc6
+    defined(CONFIG_QXL_IO_MONITORS_CONFIG_ASYNC)
Hans de Goede c8dfc6
+    if (replay) {
Hans de Goede c8dfc6
+        /*
Hans de Goede c8dfc6
+         * don't use QXL_COOKIE_TYPE_IO:
Hans de Goede c8dfc6
+         *  - we are not running yet (post_load), we will assert
Hans de Goede c8dfc6
+         *    in send_events
Hans de Goede c8dfc6
+         *  - this is not a guest io, but a reply, so async_io isn't set.
Hans de Goede c8dfc6
+         */
Hans de Goede c8dfc6
+        spice_qxl_monitors_config_async(&qxl->ssd.qxl,
Hans de Goede c8dfc6
+                qxl->guest_monitors_config,
Hans de Goede c8dfc6
+                MEMSLOT_GROUP_GUEST,
Hans de Goede c8dfc6
+                (uintptr_t)qxl_cookie_new(
Hans de Goede c8dfc6
+                    QXL_COOKIE_TYPE_POST_LOAD_MONITORS_CONFIG,
Hans de Goede c8dfc6
+                    0));
Hans de Goede c8dfc6
+    } else {
Hans de Goede c8dfc6
+        qxl->guest_monitors_config = qxl->ram->monitors_config;
Hans de Goede c8dfc6
+        spice_qxl_monitors_config_async(&qxl->ssd.qxl,
Hans de Goede c8dfc6
+                qxl->ram->monitors_config,
Hans de Goede c8dfc6
+                MEMSLOT_GROUP_GUEST,
Hans de Goede c8dfc6
+                (uintptr_t)qxl_cookie_new(QXL_COOKIE_TYPE_IO,
Hans de Goede c8dfc6
+                                          QXL_IO_MONITORS_CONFIG_ASYNC));
Hans de Goede c8dfc6
+    }
Hans de Goede c8dfc6
+#else
Hans de Goede c8dfc6
+    fprintf(stderr, "qxl: too old spice-protocol/spice-server for "
Hans de Goede c8dfc6
+            "QXL_IO_MONITORS_CONFIG_ASYNC\n");
Hans de Goede c8dfc6
+#endif
Hans de Goede c8dfc6
+}
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
 void qxl_spice_reset_image_cache(PCIQXLDevice *qxl)
Hans de Goede c8dfc6
 {
Hans de Goede c8dfc6
     trace_qxl_spice_reset_image_cache(qxl->id);
Hans de Goede c8dfc6
@@ -538,6 +576,7 @@ static const char *io_port_to_string(uint32_t io_port)
Hans de Goede c8dfc6
                                         = "QXL_IO_DESTROY_ALL_SURFACES_ASYNC",
Hans de Goede c8dfc6
         [QXL_IO_FLUSH_SURFACES_ASYNC]   = "QXL_IO_FLUSH_SURFACES_ASYNC",
Hans de Goede c8dfc6
         [QXL_IO_FLUSH_RELEASE]          = "QXL_IO_FLUSH_RELEASE",
Hans de Goede c8dfc6
+        [QXL_IO_MONITORS_CONFIG_ASYNC]  = "QXL_IO_MONITORS_CONFIG_ASYNC",
Hans de Goede c8dfc6
     };
Hans de Goede c8dfc6
     return io_port_to_string[io_port];
Hans de Goede c8dfc6
 }
Hans de Goede c8dfc6
@@ -819,6 +858,7 @@ static void interface_async_complete_io(PCIQXLDevice *qxl, QXLCookie *cookie)
Hans de Goede c8dfc6
     case QXL_IO_DESTROY_PRIMARY_ASYNC:
Hans de Goede c8dfc6
     case QXL_IO_UPDATE_AREA_ASYNC:
Hans de Goede c8dfc6
     case QXL_IO_FLUSH_SURFACES_ASYNC:
Hans de Goede c8dfc6
+    case QXL_IO_MONITORS_CONFIG_ASYNC:
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
     case QXL_IO_CREATE_PRIMARY_ASYNC:
Hans de Goede c8dfc6
         qxl_create_guest_primary_complete(qxl);
Hans de Goede c8dfc6
@@ -894,6 +934,8 @@ static void interface_async_complete(QXLInstance *sin, uint64_t cookie_token)
Hans de Goede c8dfc6
     case QXL_COOKIE_TYPE_RENDER_UPDATE_AREA:
Hans de Goede c8dfc6
         qxl_render_update_area_done(qxl, cookie);
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
+    case QXL_COOKIE_TYPE_POST_LOAD_MONITORS_CONFIG:
Hans de Goede c8dfc6
+        break;
Hans de Goede c8dfc6
     default:
Hans de Goede c8dfc6
         fprintf(stderr, "qxl: %s: unexpected cookie type %d\n",
Hans de Goede c8dfc6
                 __func__, cookie->type);
Hans de Goede c8dfc6
@@ -1315,6 +1357,13 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
Hans de Goede c8dfc6
         return;
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+    if (d->revision <= QXL_REVISION_STABLE_V10 &&
Hans de Goede c8dfc6
+        io_port >= QXL_IO_FLUSH_SURFACES_ASYNC) {
Hans de Goede c8dfc6
+        qxl_set_guest_bug(d, "unsupported io %d for revision %d\n",
Hans de Goede c8dfc6
+            io_port, d->revision);
Hans de Goede c8dfc6
+        return;
Hans de Goede c8dfc6
+    }
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
     switch (io_port) {
Hans de Goede c8dfc6
     case QXL_IO_RESET:
Hans de Goede c8dfc6
     case QXL_IO_SET_MODE:
Hans de Goede c8dfc6
@@ -1334,7 +1383,7 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
Hans de Goede c8dfc6
             io_port, io_port_to_string(io_port));
Hans de Goede c8dfc6
         /* be nice to buggy guest drivers */
Hans de Goede c8dfc6
         if (io_port >= QXL_IO_UPDATE_AREA_ASYNC &&
Hans de Goede c8dfc6
-            io_port <= QXL_IO_DESTROY_ALL_SURFACES_ASYNC) {
Hans de Goede c8dfc6
+            io_port < QXL_IO_RANGE_SIZE) {
Hans de Goede c8dfc6
             qxl_send_events(d, QXL_INTERRUPT_IO_CMD);
Hans de Goede c8dfc6
         }
Hans de Goede c8dfc6
         return;
Hans de Goede c8dfc6
@@ -1362,6 +1411,7 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
Hans de Goede c8dfc6
         io_port = QXL_IO_DESTROY_ALL_SURFACES;
Hans de Goede c8dfc6
         goto async_common;
Hans de Goede c8dfc6
     case QXL_IO_FLUSH_SURFACES_ASYNC:
Hans de Goede c8dfc6
+    case QXL_IO_MONITORS_CONFIG_ASYNC:
Hans de Goede c8dfc6
 async_common:
Hans de Goede c8dfc6
         async = QXL_ASYNC;
Hans de Goede c8dfc6
         qemu_mutex_lock(&d->async_lock);
Hans de Goede c8dfc6
@@ -1503,6 +1553,9 @@ async_common:
Hans de Goede c8dfc6
         d->mode = QXL_MODE_UNDEFINED;
Hans de Goede c8dfc6
         qxl_spice_destroy_surfaces(d, async);
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
+    case QXL_IO_MONITORS_CONFIG_ASYNC:
Hans de Goede c8dfc6
+        qxl_spice_monitors_config_async(d, 0);
Hans de Goede c8dfc6
+        break;
Hans de Goede c8dfc6
     default:
Hans de Goede c8dfc6
         qxl_set_guest_bug(d, "%s: unexpected ioport=0x%x\n", __func__, io_port);
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
@@ -1798,9 +1851,17 @@ static int qxl_init_common(PCIQXLDevice *qxl)
Hans de Goede c8dfc6
         io_size = 16;
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
     case 3: /* qxl-3 */
Hans de Goede c8dfc6
-        pci_device_rev = QXL_DEFAULT_REVISION;
Hans de Goede c8dfc6
+        pci_device_rev = QXL_REVISION_STABLE_V10;
Hans de Goede c8dfc6
+        io_size = 32; /* PCI region size must be pow2 */
Hans de Goede c8dfc6
+        break;
Hans de Goede c8dfc6
+/* 0x000b01 == 0.11.1 */
Hans de Goede c8dfc6
+#if SPICE_SERVER_VERSION >= 0x000b01 && \
Hans de Goede c8dfc6
+        defined(CONFIG_QXL_IO_MONITORS_CONFIG_ASYNC)
Hans de Goede c8dfc6
+    case 4: /* qxl-4 */
Hans de Goede c8dfc6
+        pci_device_rev = QXL_REVISION_STABLE_V12;
Hans de Goede c8dfc6
         io_size = msb_mask(QXL_IO_RANGE_SIZE * 2 - 1);
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
+#endif
Hans de Goede c8dfc6
     default:
Hans de Goede c8dfc6
         error_report("Invalid revision %d for qxl device (max %d)",
Hans de Goede c8dfc6
                      qxl->revision, QXL_DEFAULT_REVISION);
Hans de Goede c8dfc6
@@ -1999,7 +2060,9 @@ static int qxl_post_load(void *opaque, int version)
Hans de Goede c8dfc6
         }
Hans de Goede c8dfc6
         qxl_spice_loadvm_commands(d, cmds, out);
Hans de Goede c8dfc6
         g_free(cmds);
Hans de Goede c8dfc6
-
Hans de Goede c8dfc6
+        if (d->guest_monitors_config) {
Hans de Goede c8dfc6
+            qxl_spice_monitors_config_async(d, 1);
Hans de Goede c8dfc6
+        }
Hans de Goede c8dfc6
         break;
Hans de Goede c8dfc6
     case QXL_MODE_COMPAT:
Hans de Goede c8dfc6
         /* note: no need to call qxl_create_memslots, qxl_set_mode
Hans de Goede c8dfc6
@@ -2012,6 +2075,14 @@ static int qxl_post_load(void *opaque, int version)
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 #define QXL_SAVE_VERSION 21
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+static bool qxl_monitors_config_needed(void *opaque)
Hans de Goede c8dfc6
+{
Hans de Goede c8dfc6
+    PCIQXLDevice *qxl = opaque;
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
+    return qxl->guest_monitors_config != 0;
Hans de Goede c8dfc6
+}
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
 static VMStateDescription qxl_memslot = {
Hans de Goede c8dfc6
     .name               = "qxl-memslot",
Hans de Goede c8dfc6
     .version_id         = QXL_SAVE_VERSION,
Hans de Goede c8dfc6
@@ -2042,6 +2113,16 @@ static VMStateDescription qxl_surface = {
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
 };
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+static VMStateDescription qxl_vmstate_monitors_config = {
Hans de Goede c8dfc6
+    .name               = "qxl/monitors-config",
Hans de Goede c8dfc6
+    .version_id         = 1,
Hans de Goede c8dfc6
+    .minimum_version_id = 1,
Hans de Goede c8dfc6
+    .fields = (VMStateField[]) {
Hans de Goede c8dfc6
+        VMSTATE_UINT64(guest_monitors_config, PCIQXLDevice),
Hans de Goede c8dfc6
+        VMSTATE_END_OF_LIST()
Hans de Goede c8dfc6
+    },
Hans de Goede c8dfc6
+};
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
 static VMStateDescription qxl_vmstate = {
Hans de Goede c8dfc6
     .name               = "qxl",
Hans de Goede c8dfc6
     .version_id         = QXL_SAVE_VERSION,
Hans de Goede c8dfc6
@@ -2049,7 +2130,7 @@ static VMStateDescription qxl_vmstate = {
Hans de Goede c8dfc6
     .pre_save           = qxl_pre_save,
Hans de Goede c8dfc6
     .pre_load           = qxl_pre_load,
Hans de Goede c8dfc6
     .post_load          = qxl_post_load,
Hans de Goede c8dfc6
-    .fields = (VMStateField []) {
Hans de Goede c8dfc6
+    .fields = (VMStateField[]) {
Hans de Goede c8dfc6
         VMSTATE_PCI_DEVICE(pci, PCIQXLDevice),
Hans de Goede c8dfc6
         VMSTATE_STRUCT(vga, PCIQXLDevice, 0, vmstate_vga_common, VGACommonState),
Hans de Goede c8dfc6
         VMSTATE_UINT32(shadow_rom.mode, PCIQXLDevice),
Hans de Goede c8dfc6
@@ -2068,6 +2149,14 @@ static VMStateDescription qxl_vmstate = {
Hans de Goede c8dfc6
         VMSTATE_UINT64(guest_cursor, PCIQXLDevice),
Hans de Goede c8dfc6
         VMSTATE_END_OF_LIST()
Hans de Goede c8dfc6
     },
Hans de Goede c8dfc6
+    .subsections = (VMStateSubsection[]) {
Hans de Goede c8dfc6
+        {
Hans de Goede c8dfc6
+            .vmsd = &qxl_vmstate_monitors_config,
Hans de Goede c8dfc6
+            .needed = qxl_monitors_config_needed,
Hans de Goede c8dfc6
+        }, {
Hans de Goede c8dfc6
+            /* empty */
Hans de Goede c8dfc6
+        }
Hans de Goede c8dfc6
+    }
Hans de Goede c8dfc6
 };
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 static Property qxl_properties[] = {
Hans de Goede c8dfc6
diff --git a/hw/qxl.h b/hw/qxl.h
Hans de Goede c8dfc6
index 172baf6..9cfedb7 100644
Hans de Goede c8dfc6
--- a/hw/qxl.h
Hans de Goede c8dfc6
+++ b/hw/qxl.h
Hans de Goede c8dfc6
@@ -71,6 +71,8 @@ typedef struct PCIQXLDevice {
Hans de Goede c8dfc6
     } guest_surfaces;
Hans de Goede c8dfc6
     QXLPHYSICAL        guest_cursor;
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+    QXLPHYSICAL        guest_monitors_config;
Hans de Goede c8dfc6
+
Hans de Goede c8dfc6
     QemuMutex          track_lock;
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
     /* thread signaling */
Hans de Goede c8dfc6
@@ -128,7 +130,12 @@ typedef struct PCIQXLDevice {
Hans de Goede c8dfc6
         }                                                               \
Hans de Goede c8dfc6
     } while (0)
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
+#if 0
Hans de Goede c8dfc6
+/* spice-server 0.12 is still in development */
Hans de Goede c8dfc6
+#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
Hans de Goede c8dfc6
+#else
Hans de Goede c8dfc6
 #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10
Hans de Goede c8dfc6
+#endif
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 /* qxl.c */
Hans de Goede c8dfc6
 void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);
Hans de Goede c8dfc6
diff --git a/trace-events b/trace-events
Hans de Goede c8dfc6
index 0de70d9..a58b0b7 100644
Hans de Goede c8dfc6
--- a/trace-events
Hans de Goede c8dfc6
+++ b/trace-events
Hans de Goede c8dfc6
@@ -967,6 +967,7 @@ qxl_spice_destroy_surfaces(int qid, int async) "%d async=%d"
Hans de Goede c8dfc6
 qxl_spice_destroy_surface_wait_complete(int qid, uint32_t id) "%d sid=%d"
Hans de Goede c8dfc6
 qxl_spice_destroy_surface_wait(int qid, uint32_t id, int async) "%d sid=%d async=%d"
Hans de Goede c8dfc6
 qxl_spice_flush_surfaces_async(int qid, uint32_t surface_count, uint32_t num_free_res) "%d s#=%d, res#=%d"
Hans de Goede c8dfc6
+qxl_spice_monitors_config(int id) "%d"
Hans de Goede c8dfc6
 qxl_spice_loadvm_commands(int qid, void *ext, uint32_t count) "%d ext=%p count=%d"
Hans de Goede c8dfc6
 qxl_spice_oom(int qid) "%d"
Hans de Goede c8dfc6
 qxl_spice_reset_cursor(int qid) "%d"
Hans de Goede c8dfc6
diff --git a/ui/spice-display.h b/ui/spice-display.h
Hans de Goede c8dfc6
index 672d65e..bcff114 100644
Hans de Goede c8dfc6
--- a/ui/spice-display.h
Hans de Goede c8dfc6
+++ b/ui/spice-display.h
Hans de Goede c8dfc6
@@ -51,6 +51,7 @@ typedef enum qxl_async_io {
Hans de Goede c8dfc6
 enum {
Hans de Goede c8dfc6
     QXL_COOKIE_TYPE_IO,
Hans de Goede c8dfc6
     QXL_COOKIE_TYPE_RENDER_UPDATE_AREA,
Hans de Goede c8dfc6
+    QXL_COOKIE_TYPE_POST_LOAD_MONITORS_CONFIG,
Hans de Goede c8dfc6
 };
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
 typedef struct QXLCookie {
Hans de Goede c8dfc6
-- 
Hans de Goede c8dfc6
1.7.12
Hans de Goede c8dfc6