Received: from eggs.gnu.org ([2001:4830:134:3::10]:33343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK8lR-0001jg-SY for qemu-devel@nongnu.org; Mon, 04 Jul 2016 14:38:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK8lN-0005dG-U2 for qemu-devel@nongnu.org; Mon, 04 Jul 2016 14:38:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK8lN-0005ct-Oj for qemu-devel@nongnu.org; Mon, 04 Jul 2016 14:38:33 -0400 References: <1467624822-25974-1-git-send-email-kraxel@redhat.com> <1467624822-25974-3-git-send-email-kraxel@redhat.com> From: Laurent Vivier Message-ID: <047b13a0-c0fb-edbb-e3b8-d777c313740e@redhat.com> Date: Mon, 4 Jul 2016 20:38:29 +0200 MIME-Version: 1.0 In-Reply-To: <1467624822-25974-3-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 2/4] bios: Add fast variant of SeaBIOS for use with -kernel on x86. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Richard W.M. Jones" , David Gibson , Thomas Huth , Alexander Graf , Andrew Jones Hi, On 04/07/2016 11:33, Gerd Hoffmann wrote: > From: "Richard W.M. Jones" > > This commit adds a fast variant of SeaBIOS called 'bios-fast.bin'. > > It's designed to be the fastest (also the smallest, but that's not the > main aim) SeaBIOS that is just enough to boot a Linux kernel using the > -kernel option on i686 and x86_64. > > This commit does not modify the -kernel option to use this. You have > to specify it by doing something like this: > > -kernel vmlinuz -bios bios-fast.bin I like the idea: I'm wondering if we should do the same thing for ppc64? In fact, it is already done, if you have kvm-unit-tests, you can do: qemu-system-ppc64 ... -kernel vmlinuz \ -initrd initramfs.img \ -append .... \ -bios .../kvm-unit-tests/powerpc/boot_rom.bin and boot_rom.bin is (thanks to the power of device-tree): #define SPAPR_KERNEL_LOAD_ADDR 0x400000 .text .globl start start: b SPAPR_KERNEL_LOAD_ADDR - 0x100 It can't be faster... The question is: should we add this binary to qemu? And it can open new doors: booting with petitboot instead of SLOF. Laurent