Skip to content

Seabios qemu detect

Jes Sorensen qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Move QEMU_CFG related code out of smbios.cMakefile src/qemu-cfg.c src/qemu-cfg.h +1 more+51 -230 replies
2/5Reorder call for qemu-cfg probing.src/post.c src/qemu-cfg.c src/smbios.c +1 more+19 -20 replies
3/5Set emu_ver based on information provided by qemu_cfg.src/post.c src/qemu-cfg.c src/qemu-cfg.h +1 more+21 -00 replies
4/5Set irq0override based on emu_ver.src/mptable.c src/post.c+2 -40 replies
5/5Remove CONFIG_KVM and use emu_ver to runtime detect QEMU & KVM.src/acpi.c src/config.h src/pciinit.c +1 more+21 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] Seabios qemu detect

Hi,

Argh! Forgot to post this yesterday!

Here is a series of patches for Seabios which introduces support for QEMU_CFG_EMULATOR and uses it to select the irq0verride flag and for runtime detection of whether or not Seabios is running on QEMU and KVM.

This allows us to eliminate CONFIG_KVM completely as well.

I would love to see something similar used to detect Coreboot, making it possible to have one shared BIOS binary.

Cheers,
Jes