bonzini / qboot

Minimal x86 firmware for booting Linux kernels
GNU General Public License v2.0
704 stars 118 forks source link

A simple x86 firmware that can boot Linux.

Most of QEMU's startup time is spent:

Compile qboot

Clone the source:

$ git clone https://github.com/bonzini/qboot.git

Compile the qboot firmware (you may need to install the relevant build time dependancies):

$ meson build && ninja -C build

The result will be a 64K file named bios.bin under the build/ directory.

Usage

$ qemu-kvm -bios bios.bin \
  -kernel /boot/vmlinuz-4.0.3-300.fc22.x86_64 \
  -serial mon:stdio -append 'console=ttyS0,115200,8n1'

TODO