A bunch of tiny fixes

This commit is contained in:
Ciro Santilli
2018-03-12 04:37:46 +00:00
parent b8413532a5
commit 77d2e0a8a5
6 changed files with 26 additions and 17 deletions

4
run
View File

@@ -8,7 +8,6 @@ cpus=1
debug_vm=''
kgdb=false
kvm=false
nographic=false
# norandmaps: Don't use address space randomization. Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space.
# printk.time=y: log in format: "[time ] msg" for all printk messages.
# nokaslr: https://unix.stackexchange.com/questions/397939/turning-off-kaslr-to-debug-linux-kernel-using-qemu-and-gdb
@@ -59,7 +58,6 @@ while getopts a:c:Dde:G:giKknt:x OPT; do
n)
extra_append="$extra_append console=ttyS0"
extra_flags_qemu="$extra_flags -nographic"
nographic=true
;;
esac
done
@@ -115,7 +113,7 @@ else
extra_flags="${extra_flags_qemu} ${extra_flags}"
images_dir="${out_dir}/images"
qemu_common="\
'${debug_vm}' \
${debug_vm} \
'${out_dir}/host/usr/bin/qemu-system-${arch}' \
-m 128M \
-monitor telnet::45454,server,nowait \