From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNfXF-00086l-Gy for qemu-devel@nongnu.org; Tue, 17 Feb 2015 05:37:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNfXA-0001Jc-I0 for qemu-devel@nongnu.org; Tue, 17 Feb 2015 05:37:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNfXA-0001Il-At for qemu-devel@nongnu.org; Tue, 17 Feb 2015 05:37:40 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1HAbcmN022532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 17 Feb 2015 05:37:39 -0500 Message-ID: <1424169456.6014.34.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 17 Feb 2015 11:37:36 +0100 In-Reply-To: <20150217102928.GB4562@potion.brq.redhat.com> References: <1424121788-24560-1-git-send-email-rkrcmar@redhat.com> <1424121788-24560-2-git-send-email-rkrcmar@redhat.com> <1424160049.6014.4.camel@nilsson.home.kraxel.org> <20150217102928.GB4562@potion.brq.redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] vga: abort instead of shrinking memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?UTF-8?Q?Kr=C4=8Dm=C3=A1=C5=99?= Cc: qemu-devel@nongnu.org On Di, 2015-02-17 at 11:29 +0100, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > 2015-02-17 09:00+0100, Gerd Hoffmann: > > On Mo, 2015-02-16 at 22:23 +0100, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > > > Automatic shrinking of vram_size leads to a segfault, because other > > > variables depend on being smaller and don't get shrinked. > >=20 > > --verbose please. Which other variables? >=20 > I'm sorry, at least rom->surface0_area_size. > (It is sourced from qxl->vgamem_size.) Which command line triggers it? In theory qxl_init_ramsize() *should* make sure this can't happen ... I'd like to find & fix the bug instead of plugging an assert into some random place. cheers, Gerd