From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNgva-0003ef-OQ for qemu-devel@nongnu.org; Thu, 04 Apr 2013 05:58:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNgvZ-0000zC-JL for qemu-devel@nongnu.org; Thu, 04 Apr 2013 05:57:54 -0400 MIME-Version: 1.0 In-Reply-To: <8FE7E3AF-D822-4DBF-8A7E-BD0EA80AD07A@suse.de> References: <1365007213-27603-1-git-send-email-chouteau@adacore.com> <1365007213-27603-4-git-send-email-chouteau@adacore.com> <7C0E04C3-1FDF-460E-8F78-1E24E5759C93@suse.de> <515D3BDE.20400@adacore.com> <8FE7E3AF-D822-4DBF-8A7E-BD0EA80AD07A@suse.de> From: Artyom Tarasenko Date: Thu, 4 Apr 2013 11:57:32 +0200 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH 3/3] PPC PReP: can run without bios image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel , Fabien Chouteau , =?ISO-8859-1?Q?Andreas_F=E4rber?= On Thu, Apr 4, 2013 at 11:50 AM, Alexander Graf wrote: > > On 04.04.2013, at 11:46, Artyom Tarasenko wrote: > >> On Thu, Apr 4, 2013 at 10:37 AM, Fabien Chouteau wrote: >>> >>> On 04/03/2013 06:59 PM, Alexander Graf wrote: >>>> >>>> On 03.04.2013, at 18:40, Fabien Chouteau wrote: >>>> >>>>> If we use an ELF kernel there's no need for bios. '-bios -' means no >>>>> bios. >>>> >>>> This sounds like you're actually looking for a way to load an ELF blob >>>> as bios using -bios, not a kernel, no? >>>> >>> >>> No, we load the kernel with -kernel, that's what the first patch does. >>> But the board is implemented in such way that you can't start without a >>> bios. If the -bios switch is not present, then the board uses the >>> default bios. This patch allows to start without a bios: >>> >>> -kernel -bios - >> >> Regardless of the firmware vs. kernel discussion, I think the syntax >> may be improved. Under *nix '-' is commonly used for stdin. Would it >> be possible to specify /dev/null (under *NIX) or NUL (in the >> MS-World)? I think it would make the syntax more explicit. > > I'd be inclined to say that running -kernel without -bios is simply bogus and shouldn't ever happen. QEMU does it at least in one other architectures though: leon3_generic. -- Regards, Artyom Tarasenko linux/sparc and solaris/sparc under qemu blog: http://tyom.blogspot.com/search/label/qemu