Received: from eggs.gnu.org ([208.118.235.92]:41627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYXyu-0007RB-7l for qemu-devel@nongnu.org; Sat, 04 May 2013 04:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYXys-0000sc-V7 for qemu-devel@nongnu.org; Sat, 04 May 2013 04:38:12 -0400 Received: from zose-mta13.web4all.fr ([178.33.204.91]:58208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYXys-0000sQ-PD for qemu-devel@nongnu.org; Sat, 04 May 2013 04:38:10 -0400 Message-ID: <5184C8F0.9030400@tribudubois.net> Date: Sat, 04 May 2013 10:38:08 +0200 From: Jean-Christophe DUBOIS MIME-Version: 1.0 References: <1367438026-27573-1-git-send-email-jcd@tribudubois.net> <51825E30.5000802@suse.de> <5183D4E3.9060505@tribudubois.net> <5183D5D7.3010805@suse.de> <5183E020.2030209@tribudubois.net> <5183E8C1.5070506@suse.de> <5184C52B.2070600@tribudubois.net> <5184C674.2080007@suse.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] Add i.MX I2C device emulator. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , qemu-devel@nongnu.org On 05/04/2013 10:29 AM, Peter Maydell wrote: > On 4 May 2013 09:27, Andreas F=C3=A4rber wrote: >> Am 04.05.2013 10:22, schrieb Jean-Christophe DUBOIS: >>> Do you mean arm_load_kernel() should test for qtest_enable() or shoul= d I >>> call arm_load_kernel() only if !qtest_enable() (there is not much >>> platform checking for qtest_enable() at this time and it seems somebo= dy >>> need to set the "entry" field in the info struct). >> In short, qtest does not execute any code, so it does not need to load >> binaries or set CPU entry addresses. >> >> Yes, I would say there is no point calling arm_load_kernel() if >> !qtest_enabled(). > I'd rather we didn't end up with qtest_enabled() checks infecting > every board model, please... Then should we put it in arm_load_kernel() so that all board model get it= ? JC > > thanks > -- PMM >