aboutsummaryrefslogtreecommitdiffstats
path: root/run-me/run.sh
blob: d0d7c4ae2ee035c6da923636683d2c52e435219b (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
SELF="$(readlink -f "${BASH_SOURCE[0]}")"
cd "${SELF%/*}"
set -ex
make -C .. O=$(pwd) -j9 "$@"
exec qemu-system-x86_64 -nodefaults -nographic -smp 4 -m 128M -serial stdio -no-reboot -monitor none -cpu host -machine q35,accel=kvm -kernel arch/x86/boot/bzImage