seabios: update from 1.9.1 to 1.9.3
Hi,
Here comes the seabios update for qemu 2.7. No big changes, it is a stable branch update with only four patches (patch #1 comes with a shortlog). Also picked up the stripped down bios config (for -kernel boot) from Richard and updated the 128k config to keep the size below the limit.
please pull,
Gerd
The following changes since commit 96b39d8327883094f52b0a3d3f25dba83d6d1d63:
Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2016-07-01 19:29:27 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-seabios-20160704-1
for you to fetch changes up to 6e03a28e1cee05a502e17d271df4a0e6406b43a5:
seabios: update binaries from 1.9.1 to 1.9.3 (2016-07-04 11:28:58 +0200)
----------------------------------------------------------------
seabios: update from 1.9.1 to 1.9.3
----------------------------------------------------------------
Gerd Hoffmann (3):
seabios: update submodule from 1.9.1 to 1.9.3
seabios: update 128k config
seabios: update binaries from 1.9.1 to 1.9.3
Richard W.M. Jones (1):
bios: Add fast variant of SeaBIOS for use with -kernel on x86.
Makefile | 3 ++- pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-fast.bin | Bin 0 -> 65536 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes roms/Makefile | 4 +++- roms/config.seabios-128k | 2 ++ roms/config.seabios-fast | 27 +++++++++++++++++++++++++++ roms/seabios | 2 +- 8 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 pc-bios/bios-fast.bin create mode 100644 roms/config.seabios-fast
[Qemu-devel] [PULL 1/4] seabios: update submodule from 1.9.1 to 1.9.3
git shortlog
============
Alex Williamson (1):
fw/pci: Add support for mapping Intel IGD via QEMU
Haozhong Zhang (1):
fw/msr_feature_control: add support to set MSR_IA32_FEATURE_CONTROL
Kevin O'Connor (1):
build: fix .text section address alignment
Marcel Apfelbaum (1):
fw/pci: add Q35 S3 support
--- roms/seabios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
roms/seabios +1 -1
@@ -1 +1 @@ -Subproject commit b3ef39f532db52bf17457ba931da758eeb38d6b4 +Subproject commit e2fc41e24ee0ada60fc511d60b15a41b294538be
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 2/4] bios: Add fast variant of SeaBIOS for use with -kernel on x86.
In reply to Gerd HoffmannFrom: "Richard W.M. Jones" <[email protected]>
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
--- Makefile | 3 ++- roms/Makefile | 4 +++- roms/config.seabios-fast | 27 +++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 roms/config.seabios-fast
Makefile +2 -1
@@ -408,7 +408,8 @@ common de-ch es fo fr-ca hu ja mk nl-be pt sl tr \ bepo cz ifdef INSTALL_BLOBS -BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \ +BLOBS=bios.bin bios-256k.bin bios-fast.bin \ +sgabios.bin vgabios.bin vgabios-cirrus.bin \ vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin \ acpi-dsdt.aml \ ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin \
roms/Makefile +3 -1
@@ -61,9 +61,11 @@ default: @echo " slof -- update slof.bin" @echo " u-boot.e500 -- update u-boot.e500" -bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k +bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k \ + build-seabios-config-seabios-fast cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin + cp seabios/builds/seabios-fast/bios.bin ../pc-bios/bios-fast.bin seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
roms/config.seabios-fast new file +27 -0
@@ -0,0 +1,27 @@ +# The fastest SeaBIOS that can boot Linux using -kernel. +# NB: Since we are using -kernel, we don't need SeaBIOS itself +# to do any boot drive detection, boot ordering, etc. + +# general stuff +CONFIG_QEMU=y +CONFIG_ROM_SIZE=0 +CONFIG_WRITABLE_UPPERMEMORY=y +CONFIG_RELOCATE_INIT=n + +# no input, no boot menu +CONFIG_MOUSE=n +CONFIG_KEYBOARD=n +CONFIG_BOOTMENU=n +CONFIG_BOOTSPLASH=n +CONFIG_BOOTORDER=n + +# hardware support we don't need +CONFIG_LPT=n +CONFIG_SERIAL=n +CONFIG_USB=n +CONFIG_DRIVES=n +CONFIG_TCGBIOS=n +CONFIG_VGAHOOKS=n + +# no logging +CONFIG_DEBUG_LEVEL=0
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PULL 2/4] bios: Add fast variant of SeaBIOS for use with -kernel on x86.
Quoted 8 lines · Gerd Hoffmann
From: "Richard W.M. Jones" <[email protected]>
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.
Quoted 8 lines
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
Signed-off-by Richard W.M. Jones <[email protected]>Acked-by Stefan Hajnoczi <[email protected]>Signed-off-by Gerd Hoffmann <[email protected]>
Hi Gerd, I'd like to "self-" NACK this patch - ie. I withdraw it.
It needs more work to benchmark any time savings, and I think also to explore other ways to fix the problem.
Thanks,
Rich.
Signature · 5 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Re: [Qemu-devel] [PULL 2/4] bios: Add fast variant of SeaBIOS for use with -kernel on x86.
Quoted 1 line · Richard W.M. Jones
Hi Gerd, I'd like to "self-" NACK this patch - ie. I withdraw it.
Ok. Dropped patch, dropped binary, PULL v2 sent.
cheers,
Gerd
Re: [Qemu-devel] [PULL 2/4] bios: Add fast variant of SeaBIOS for use with -kernel on x86.
In reply to Gerd HoffmannHi,
Quoted 4 lines · Gerd Hoffmann
From: "Richard W.M. Jones" <[email protected]>
This commit adds a fast variant of SeaBIOS called 'bios-fast.bin'.
Quoted 8 lines
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.binand 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 - 0x100It 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
[Qemu-devel] [PULL 3/4] seabios: update 128k config
In reply to Gerd HoffmannTurn off mpt-scsi and bootsplash to keep size below 128k.
--- roms/config.seabios-128k | 2 ++ 1 file changed, 2 insertions(+)
roms/config.seabios-128k +2 -0
@@ -2,9 +2,11 @@ # need to turn off features (xhci,uas) to make it fit into 128k CONFIG_QEMU=y CONFIG_ROM_SIZE=128 +CONFIG_BOOTSPLASH=n CONFIG_XEN=n CONFIG_USB_OHCI=n CONFIG_USB_XHCI=n CONFIG_USB_UAS=n CONFIG_SDCARD=n CONFIG_TCGBIOS=n +CONFIG_MPT_SCSI=n
Signature · 1 line
1.8.3.1
[Qemu-devel] [PULL 4/4] seabios: update binaries from 1.9.1 to 1.9.3
In reply to Gerd Hoffmann--- pc-bios/bios-256k.bin | Bin 262144 -> 262144 bytes pc-bios/bios-fast.bin | Bin 0 -> 65536 bytes pc-bios/bios.bin | Bin 131072 -> 131072 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 pc-bios/bios-fast.bin
pc-bios/bios-256k.bin binary +0 -0
pc-bios/bios-fast.bin new file binary +0 -0
pc-bios/bios.bin binary +0 -0
Signature · 1 line
1.8.3.1