os/qemu.sh

5 lines
196 B
Bash
Executable file

#!/bin/sh
# shellcheck disable=SC2068
set -e
./build.sh
qemu-system-x86_64 -M q35 -accel kvm -cpu qemu64,+rdrand -m 256M -L /usr/share/OVMF -bios OVMF_CODE.fd -drive file=img/os.img,format=raw $@