Received: from eggs.gnu.org ([2001:4830:134:3::10]:46682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3VR-0007sZ-OQ for qemu-devel@nongnu.org; Mon, 19 Sep 2016 14:41:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm3VN-00038t-Pa for qemu-devel@nongnu.org; Mon, 19 Sep 2016 14:41:29 -0400 Received: from indium.canonical.com ([91.189.90.7]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm3VN-00038i-JZ for qemu-devel@nongnu.org; Mon, 19 Sep 2016 14:41:25 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bm3VL-0004Iv-Qh for ; Mon, 19 Sep 2016 18:41:24 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 12D1B2E80D4 for ; Mon, 19 Sep 2016 18:41:21 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Sep 2016 18:30:30 -0000 From: Jakub Jermar <1624726@bugs.launchpad.net> Reply-To: Bug 1624726 <1624726@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160917203131.11876.45030.malonedeb@gac.canonical.com> Message-Id: <20160919183030.1853.24316.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1624726] Re: Integrator/CP regression after QOM'ification of integratorcp.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Turns out integratorcm_init() depends on the memsz property being already set, but that unfortunately is not the case as setting of memsz depends on integratorcm_init() having completed: dev =3D qdev_create(NULL, TYPE_INTEGRATOR_CM); <=3D calls in= tegratorcm_init(), needs memsz qdev_prop_set_uint32(dev, "memsz", ram_size >> 20); <=3D memsz set = here, needs dev -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1624726 Title: Integrator/CP regression after QOM'ification of integratorcp.c Status in HelenOS branches: New Status in QEMU: New Bug description: The following command line no longer works (i.e. the guest does not boot) with QEMU 2.7.0: qemu-system-arm -M integratorcp -m 128M -kernel HelenOS-0.6.0-arm32-integratorcp.boot The HelenOS image can be downloaded here: http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot I did git bisect and came to this revision: a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 Author: xiaoqiang.zhao Date: Mon Mar 7 15:05:44 2016 +0800 hw/arm: QOM'ify integratorcp.c = * Drop the use of old SysBus init function and use instance_init * Remove the empty 'icp_pic_class_init' from Typeinfo = Signed-off-by: xiaoqiang zhao Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell :040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c b483e8579037fdae7d136b2f4ada3147bdde92f1 M hw Upon closer inspection, I discovered that for some reason s->memsz in integratorcm_init() is zero. In the last good revision, this value was 128. As a temporary workaround, hardcoding it to this expected value fixes the problem. To manage notifications about this bug go to: https://bugs.launchpad.net/helenos/+bug/1624726/+subscriptions