From patchwork Mon Aug 27 16:21:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=B8ren_Sandmann?= X-Patchwork-Id: 180267 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 95D5B2C0104 for ; Tue, 28 Aug 2012 04:59:17 +1000 (EST) Received: from localhost ([::1]:34329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T64Wp-00083z-MY for incoming@patchwork.ozlabs.org; Mon, 27 Aug 2012 14:59:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6221-0007zt-A8 for qemu-devel@nongnu.org; Mon, 27 Aug 2012 12:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T621x-000718-2l for qemu-devel@nongnu.org; Mon, 27 Aug 2012 12:19:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T621w-00070v-Qp for qemu-devel@nongnu.org; Mon, 27 Aug 2012 12:19:12 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7RGJArN003531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 27 Aug 2012 12:19:11 -0400 Received: from dhcp-100-3-184.bos.redhat.com (dhcp-189-4.bos.redhat.com [10.16.189.4]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7RGJ9Pn014928; Mon, 27 Aug 2012 12:19:10 -0400 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= To: qemu-devel@nongnu.org Date: Mon, 27 Aug 2012 12:21:20 -0400 Message-Id: <1346084480-7994-1-git-send-email-sandmann@cs.au.dk> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q7RGJArN003531 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-Mailman-Approved-At: Mon, 27 Aug 2012 14:59:09 -0400 Cc: kraxel@redhat.com, =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Subject: [Qemu-devel] [PATCH 1/2] spice: Change NUM_SURFACES to 4096 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 From: Søren Sandmann Pedersen It's not uncommon for an X workload to have more than 1024 pixmaps live at the same time. Ideally, there wouldn't be any fixed limit like this, but since we have one, increase it to 4096. --- ui/spice-display.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ui/spice-display.h b/ui/spice-display.h index 12e50b6..e8d01a5 100644 --- a/ui/spice-display.h +++ b/ui/spice-display.h @@ -32,7 +32,7 @@ #define MEMSLOT_GROUP_GUEST 1 #define NUM_MEMSLOTS_GROUPS 2 -#define NUM_SURFACES 1024 +#define NUM_SURFACES 4096 /* * Internal enum to differenciate between options for