summaryrefslogtreecommitdiffstats
path: root/test_code/run.sh.save
blob: 3292b2d3e55aeeb7e51307a84a95af3b1cd98f0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

#(cd hda-contents; rm memtest_log; echo -n -e '\x00' >> memtest_log)

#OVMF=/usr/share/ovmf/OVMF.fd
OVMF=/home/koenigr/Memtest/git/memtest86/test_code/OVMF.fd

sudo kvm -bios $OVMF \
	--drive file=fat:rw:hda-contents,index=0,media=disk,format=raw \
	--drive file=fat:rw:hdb-contents,index=1,media=disk,format=raw \
	-net none \
	-cpu host \
	-D ./qemu_log.txt \
	-d guest_errors,nochain,exec,in_asm \
	--trace "memory_region*"
	#-monitor stdiohttps://reiseauskunft.bahn.de/bin/query.exe/dn?ld=43137&protocol=https:&seqnr=1&ident=6w.08418137.1646831794&rt=1&OK#hfsseq2|6w.08418137.1646831794

#-drive file=vm-disk-2G,format=raw,index=3,media=disk
#-nographic
#-no-reboot