thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
9ae3a8
From ac053d6013f7fab73f66db60462c388bea21b714 Mon Sep 17 00:00:00 2001
9ae3a8
Message-Id: <ac053d6013f7fab73f66db60462c388bea21b714.1464449390.git.jen@redhat.com>
9ae3a8
In-Reply-To: <c7936395ecf322b3de37662c7c6b772e36866cc7.1464449390.git.jen@redhat.com>
9ae3a8
References: <c7936395ecf322b3de37662c7c6b772e36866cc7.1464449390.git.jen@redhat.com>
9ae3a8
From: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
Date: Fri, 13 May 2016 16:09:29 -0400
9ae3a8
Subject: [CHANGE 2/3] qxl: Fix new function name for spice-server library
9ae3a8
MIME-Version: 1.0
9ae3a8
Content-Type: text/plain; charset=UTF-8
9ae3a8
Content-Transfer-Encoding: 8bit
9ae3a8
To: rhvirt-patches@redhat.com,
9ae3a8
    jen@redhat.com
9ae3a8
9ae3a8
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
9ae3a8
Message-id: <1463155769-32352-3-git-send-email-kraxel@redhat.com>
9ae3a8
Patchwork-id: 70403
9ae3a8
O-Subject: [RHEL-7.3 qemu-kvm PATCH 2/2] qxl: Fix new function name for spice-server library
9ae3a8
Bugzilla: 1283198
9ae3a8
RH-Acked-by: Marc-André Lureau <mlureau@redhat.com>
9ae3a8
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
9ae3a8
RH-Acked-by: Thomas Huth <thuth@redhat.com>
9ae3a8
9ae3a8
From: Frediano Ziglio <fziglio@redhat.com>
9ae3a8
9ae3a8
The new spice-server function to limit the number of monitors (0.12.6)
9ae3a8
changed while development from spice_qxl_set_monitors_config_limit to
9ae3a8
spice_qxl_max_monitors (accepted upstream).
9ae3a8
By mistake I post patch with former name.
9ae3a8
This patch fix the function name.
9ae3a8
9ae3a8
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
9ae3a8
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
9ae3a8
Acked-by: Martin Kletzander <mkletzan@redhat.com>
9ae3a8
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
9ae3a8
(cherry picked from commit a52b2cbf218d52f9e357961acb271a98a2bdff71)
9ae3a8
Signed-off-by: Jeff E. Nelson <jen@redhat.com>
9ae3a8
---
9ae3a8
 hw/display/qxl.c | 3 +--
9ae3a8
 1 file changed, 1 insertion(+), 2 deletions(-)
9ae3a8
9ae3a8
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
9ae3a8
index 1f6a303..748dfce 100644
9ae3a8
--- a/hw/display/qxl.c
9ae3a8
+++ b/hw/display/qxl.c
9ae3a8
@@ -268,8 +268,7 @@ static void qxl_spice_monitors_config_async(PCIQXLDevice *qxl, int replay)
9ae3a8
     } else {
9ae3a8
 #if SPICE_SERVER_VERSION >= 0x000c06 /* release 0.12.6 */
9ae3a8
         if (qxl->max_outputs) {
9ae3a8
-            spice_qxl_set_monitors_config_limit(&qxl->ssd.qxl,
9ae3a8
-                                                qxl->max_outputs);
9ae3a8
+            spice_qxl_set_max_monitors(&qxl->ssd.qxl, qxl->max_outputs);
9ae3a8
         }
9ae3a8
 #endif
9ae3a8
         qxl->guest_monitors_config = qxl->ram->monitors_config;
9ae3a8
-- 
9ae3a8
2.5.5
9ae3a8