Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/qemu-vm: add option to use qboot #88574
Motivation for this change
qboot is a minimal x86 bios for use under QEMU, replacing the default (SeaBIOS).
This provides a 700-800ms improvement to boot times when enabled, so long-term I'd love to turn it on by default (at least for nixos tests).
See the runtimes of a simple "wait for multi-user.target" test, with and without the option enabled:
Desktop, AMD 2600X
Laptop, Intel i5-8250U
Percentage-wise, this becomes much more significant after further changes I'm working on, especially the use of virtiofs instead of 9pfs.
More a question, less a requirement for this PR to be merged:
@flokli If you're not aware, that status quo is that only this output (from SeaBIOS) is shown on the display, up until the getty part:
The kernel logs all go to the serial console, i.e. the output of nix-build - imo this is probably the most useful place for them to be.