From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH6fd-0001um-B9 for qemu-devel@nongnu.org; Mon, 20 Jul 2015 04:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZH6fa-0008FI-5x for qemu-devel@nongnu.org; Mon, 20 Jul 2015 04:43:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH6fa-0008F2-0x for qemu-devel@nongnu.org; Mon, 20 Jul 2015 04:43:30 -0400 From: Frediano Ziglio Date: Mon, 20 Jul 2015 09:43:23 +0100 Message-Id: <1437381803-2936-1-git-send-email-fziglio@redhat.com> Subject: [Qemu-devel] [PATCH] qxl: Fix new function name for spice-server library List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kraxel@redhat.com, peter.maydell@linaro.org, pgrunt@redhat.com, cfergeau@redhat.com Cc: libvir-list@redhat.com, spice-devel@lists.freedesktop.org, pkrempa@redhat.com, Frediano Ziglio 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 --- hw/display/qxl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) I tested again doing a clean build, unfortunately I did some mistake and my tests worked. diff --git a/hw/display/qxl.c b/hw/display/qxl.c index 4e5ff69..2288238 100644 --- a/hw/display/qxl.c +++ b/hw/display/qxl.c @@ -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; -- 2.1.0