Files
nel_os_uefi/nel_os_bootloader/run-qemu.sh
Masato Imai 2d0db85574
All checks were successful
Check / Build ISO (nightly-2025-04-27) (push) Successful in 43s
add XSETBV, CLAC, STAC, initrd
2025-08-22 14:32:21 +00:00

21 lines
376 B
Bash
Executable File

#!/bin/sh -ex
EFI_BINARY="$1"
./clean.sh
./create-iso.sh "$EFI_BINARY"
qemu-system-x86_64 -enable-kvm \
-m 2G \
-serial mon:stdio \
-nographic \
-no-reboot \
-drive if=pflash,format=raw,readonly=on,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,readonly=on,file=OVMF_VARS.fd \
-cdrom nel_os.iso \
-boot d \
-cpu host \
-enable-kvm \
-smp 1 \
-s