]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qxl: Fix new function name for spice-server library
authorFrediano Ziglio <fziglio@redhat.com>
Mon, 20 Jul 2015 08:43:23 +0000 (09:43 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 22 Jul 2015 14:38:42 +0000 (16:38 +0200)
The new spice-server function to limit the number of monitors (0.12.6)
changed while development from spice_qxl_set_monitors_config_limit to
spice_qxl_max_monitors (accepted upstream).
By mistake I post patch with former name.
This patch fix the function name.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/display/qxl.c

index 4e5ff69af30d0a8162bdbe0363cb13014ba7c25a..2288238d003e5cec29852f99d315df519bd2a8ef 100644 (file)
@@ -273,8 +273,7 @@ static void qxl_spice_monitors_config_async(PCIQXLDevice *qxl, int replay)
     } else {
 #if SPICE_SERVER_VERSION >= 0x000c06 /* release 0.12.6 */
         if (qxl->max_outputs) {
-            spice_qxl_set_monitors_config_limit(&qxl->ssd.qxl,
-                                                qxl->max_outputs);
+            spice_qxl_set_max_monitors(&qxl->ssd.qxl, qxl->max_outputs);
         }
 #endif
         qxl->guest_monitors_config = qxl->ram->monitors_config;