From patchwork Mon Jul 20 08:43:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frediano Ziglio X-Patchwork-Id: 497602 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1177014076A for ; Mon, 20 Jul 2015 18:43:55 +1000 (AEST) Received: from localhost ([::1]:54230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZH6fx-0002WO-2B for incoming@patchwork.ozlabs.org; Mon, 20 Jul 2015 04:43:53 -0400 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 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 3DD11B669A; Mon, 20 Jul 2015 08:43:28 +0000 (UTC) Received: from rhwork.redhat.com (vpn1-5-57.ams2.redhat.com [10.36.5.57]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6K8hO37015567; Mon, 20 Jul 2015 04:43:25 -0400 From: Frediano Ziglio To: qemu-devel@nongnu.org, kraxel@redhat.com, peter.maydell@linaro.org, pgrunt@redhat.com, cfergeau@redhat.com Date: Mon, 20 Jul 2015 09:43:23 +0100 Message-Id: <1437381803-2936-1-git-send-email-fziglio@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: libvir-list@redhat.com, spice-devel@lists.freedesktop.org, pkrempa@redhat.com, Frediano Ziglio Subject: [Qemu-devel] [PATCH] qxl: Fix new function name for spice-server library X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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;