summaryrefslogtreecommitdiffstats
path: root/test_code/test.sh
blob: 1a72eb78103fc3c37c8fdfbe42021bd3ac4d2f63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#!/bin/bash

sudo qemu-system-x86_64 -s -bios ./OVMF.fd \
	-hda fat:rw:hda-contents \
	-drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \
	-drive if=pflash,format=raw,file=OVMF_VARS.fd \
	-net none -debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
	-monitor stdio

# -D ./qemu_log.txt
# -d ...
# --trace "memory_region*"
# -S