diff options
Diffstat (limited to 'test_code/run.sh')
-rwxr-xr-x | test_code/run.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test_code/run.sh b/test_code/run.sh index c0a4ea0..469911b 100755 --- a/test_code/run.sh +++ b/test_code/run.sh @@ -1,3 +1,4 @@ + #!/bin/bash #(cd hda-contents; rm memtest_log; echo -n -e '\x00' >> memtest_log) @@ -9,8 +10,11 @@ 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 - + -cpu host \ + -D ./qemu_log.txt \ + -d guest_errors,nochain,exec,in_asm,out_asm,op,op_opt,op_ind,int,cpu,mmu,pcall,cpu_reset,unimp,page \ + --trace "memory_region*" \ + -monitor stdio #-drive file=vm-disk-2G,format=raw,index=3,media=disk #-nographic |