summaryrefslogtreecommitdiffstats
path: root/test_code/run.sh
blob: b850537c812819ddfcc9c95717d25b635bc05a59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

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


# sudo kvm -bios OVMF.fd -serial tcp::666,server -s \
#   --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

sudo kvm -bios OVMF.fd -s -S \
  --drive file=fat:rw:hda-contents,index=0,media=disk,format=raw -net none -cpu host

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