From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNl39-0005Y1-9K for qemu-devel@nongnu.org; Tue, 17 Feb 2015 11:31:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNl35-0001nq-S3 for qemu-devel@nongnu.org; Tue, 17 Feb 2015 11:31:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNl35-0001nR-Lk for qemu-devel@nongnu.org; Tue, 17 Feb 2015 11:30:59 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1HGUwVO009047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 17 Feb 2015 11:30:58 -0500 From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Date: Tue, 17 Feb 2015 17:30:49 +0100 Message-Id: <1424190653-29139-1-git-send-email-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 0/4] spice: minor improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Series contains two logical parts: [1-2/4] fix a segfault after user misconfiguration (too big vgamem_mb), [3-4/4] improve code that was modified by [2/4]. v2 summary: - added [1/4] to explain the size bump in [2/4] - modified Gerd's proposed solution as [2/4] - added [3/4] to have at least one nice patch - removed assert and kept rounding+lamping in [4/4] Radim Kr=C4=8Dm=C3=A1=C5=99 (4): qxl: document minimal video memory for new modes spice: fix invalid memory access to vga.vram qxl: refactor rounding up to a nearest power of 2 vga: refactor vram_size clamping and rounding hw/display/qxl.c | 34 ++++++++++++++++------------------ hw/display/vga.c | 22 +++++++++++++++------- include/qemu-common.h | 3 +++ util/cutils.c | 14 ++++++++++++++ 4 files changed, 48 insertions(+), 25 deletions(-) --=20 2.3.0