Received: from eggs.gnu.org ([209.51.188.92]:53344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMTP8-0004ao-63 for qemu-devel@nongnu.org; Fri, 03 May 2019 04:18:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMTP7-00033q-Di for qemu-devel@nongnu.org; Fri, 03 May 2019 04:18:50 -0400 Received: from mel.act-europe.fr ([194.98.77.210]:41843 helo=smtp.eu.adacore.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMTP7-00032s-7f for qemu-devel@nongnu.org; Fri, 03 May 2019 04:18:49 -0400 References: <1556194715-24427-1-git-send-email-frederic.konrad@adacore.com> <1556194715-24427-2-git-send-email-frederic.konrad@adacore.com> <05b496be-408a-50b5-7b38-c402b172c962@ilande.co.uk> From: KONRAD Frederic Message-ID: <8ebd3335-188d-a5ff-e15e-cdf22b955660@adacore.com> Date: Fri, 3 May 2019 10:18:45 +0200 MIME-Version: 1.0 In-Reply-To: <05b496be-408a-50b5-7b38-c402b172c962@ilande.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/3] leon3: add a little bootloader List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, philmd@redhat.com, atar4qemu@gmail.com, chouteau@adacore.com Hi Mark, >>> } >> >> I think this patch is basically okay, however if you don't supply both a kernel and >> bios then you get the slightly enigmatic message below: >> >> $ ./qemu-system-sparc -M leon3_generic >> qemu-system-sparc: Can't read bios image (null) >> >> Perhaps add a define for LEON3_BIOS_FILENAME and return that if filename == NULL to >> give a better error message? > > Okay I see there is already a PROM_FILENAME that exists and can be used here. I think we already have this behavior without this patch. Should this be fixed in an other patch? Regars, Fred > > > ATB, > > Mark. >