Received: from eggs.gnu.org ([2001:4830:134:3::10]:48248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2168-0001us-R7 for qemu-devel@nongnu.org; Mon, 08 Jun 2015 13:44:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2163-0004bA-Gl for qemu-devel@nongnu.org; Mon, 08 Jun 2015 13:44:32 -0400 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:35094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2163-0004at-C6 for qemu-devel@nongnu.org; Mon, 08 Jun 2015 13:44:27 -0400 Received: by qgg3 with SMTP id 3so26898630qgg.2 for ; Mon, 08 Jun 2015 10:44:26 -0700 (PDT) Date: Mon, 8 Jun 2015 13:44:24 -0400 From: "Gabriel L. Somlo" Message-ID: <20150608174423.GG32650@HEDWIG.INI.CMU.EDU> References: <1433513661-7267-1-git-send-email-kraxel@redhat.com> <1433766363.5046.37.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433766363.5046.37.camel@redhat.com> Subject: Re: [Qemu-devel] [PULL 0/6] fw_cfg patch queue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Peter Maydell , QEMU Developers On Mon, Jun 08, 2015 at 02:26:03PM +0200, Gerd Hoffmann wrote: > > Hi. I'm afraid this fails make check for me: > > > > GTESTER check-qtest-ppc > > qemu-system-ppc: > > /home/petmay01/linaro/qemu-for-merges/hw/nvram/fw_cfg.c:426: > > fw_cfg_add_bytes_read_callback: Assertion `s->entries[arch][key].data > > == ((void *)0)' failed. > > Broken pipe > > GTester: last random seed: R02Sd9273ba718a6b28ff4381eed659a0cb4 > > qemu-system-ppc: > > /home/petmay01/linaro/qemu-for-merges/hw/nvram/fw_cfg.c:426: > > fw_cfg_add_bytes_read_callback: Assertion `s->entries[arch][key].data > > == ((void *)0)' failed. > > Broken pipe > > GTester: last random seed: R02S59d67a130b823e6e6d04a41eb4b168c7 > > Reproducer: "qemu-system-ppc -M g3beige -boot once=d,order=c". > Culprit: Patch #3 (fw_cfg: prevent selector key conflict). > Looks like FW_CFG_BOOT_DEVICE is set twice for macs. > > Gabriel? To me this looks like the assert found an actual bug ... I think it did -- a (small) memory leak in the fw_cfg_boot_set() callback. I'm sending out two patches which should go in before the current set in this pull request (to maintain "bisectability"). Thanks, --Gabriel