Skip to content

Arguments to skip boot menu and to hide bios output

Cory Fields kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Define new channels for quietboot and fastbootqemu/hw/fw_cfg.c qemu/hw/fw_cfg.h qemu/sysemu.h+6 -00 replies
2/4add args for fastboot and quietbootqemu/vl.c+17 -00 replies
3/4probe for quietboot in vgabiosvgabios/vgabios.c+16 -10 replies
4/4probe for quietboot and fastboot in rombiosbios/rombios.c+57 -230 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Arguments to skip boot menu and to hide bios output

This patchset creates new commandline arguments -quietboot and -fastboot

-quietboot silences normal text output from the bios and vgabios. I rarely care to see this output and it looks much cleaner when the first thing shown in a KVM window is init or splash (or the dreaded Windows logo)

-fastboot lets you explicitly skip the "Press f12 for boot menu" option saving ~3 seconds on each boot. It is also implied by -kernel -boot or -quietboot.

I've been working with kvm, but I realize this may be qemu related. Figured I'd give it a shot here first.

This is my first patch submitted to a mailinglist so any etiquette/procedural comments or critiques are appreciated.

Also, my asm-fu is weak so I'm sure those few lines need some help.

Cory Fields

---
 bios/rombios.c    |   80 +++++++++++++++++++++++++++++++++++++---------------
 qemu/hw/fw_cfg.c  |    2 +
 qemu/hw/fw_cfg.h  |    2 +
 qemu/sysemu.h     |    2 +
 qemu/vl.c         |   17 +++++++++++
 vgabios/vgabios.c |   17 ++++++++++-
 6 files changed, 96 insertions(+), 24 deletions(-)