mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
A bunch of tiny fixes
This commit is contained in:
4
run
4
run
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user