mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Inird hardcoded, TODO add run option
This commit is contained in:
5
run
5
run
@@ -62,14 +62,15 @@ case "$arch" in
|
||||
fi
|
||||
cmd="$qemu_common \
|
||||
-M pc \
|
||||
-append 'root=/dev/vda nopat $extra_append' \
|
||||
-append 'nopat $extra_append' \
|
||||
-device edu \
|
||||
-device lkmc_pci_min \
|
||||
-device virtio-net-pci,netdev=net0 \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
-initrd ${images_dir}/rootfs.cpio \
|
||||
-kernel ${images_dir}/bzImage \
|
||||
$extra_flags \
|
||||
"
|
||||
#-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
;;
|
||||
arm)
|
||||
if $kgdb; then
|
||||
|
||||
Reference in New Issue
Block a user