Syncboot/scripts/run.py

7 lines
252 B
Python
Executable File

#!/usr/bin/env python3
import os
from pathlib import Path
os.chdir(Path(os.environ['MESON_BUILD_ROOT']) / 'sys')
os.system(r'qemu-system-x86_64 -net none -vga std -serial file:qemu.log -parallel none -L . -bios OVMF_X64.fd -hda fat:rw:image -d int')