mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
devmem on userland memory...!!!!!!
This commit is contained in:
5
runqemu
5
runqemu
@@ -8,7 +8,8 @@ debug=false
|
||||
debug_qemu=''
|
||||
kgdb=false
|
||||
nographic=false
|
||||
extra_append=''
|
||||
# norandmaps: reduce randomization to make our lives easier.
|
||||
extra_append='norandmaps'
|
||||
extra_flags=''
|
||||
while getopts a:de:knqt: OPT; do
|
||||
case "$OPT" in
|
||||
@@ -61,7 +62,7 @@ case "$arch" in
|
||||
fi
|
||||
cmd="$qemu_common \
|
||||
-M pc \
|
||||
-append 'root=/dev/vda $extra_append' \
|
||||
-append 'root=/dev/vda nopat $extra_append' \
|
||||
-device edu \
|
||||
-device lkmc_pci_min \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
|
||||
Reference in New Issue
Block a user