mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Use buildroot qemu
This commit is contained in:
4
runqemu
4
runqemu
@@ -42,9 +42,7 @@ case "$arch" in
|
||||
if $kgdb; then
|
||||
extra_append="$extra_append kgdboc=ttyS0,115200"
|
||||
fi
|
||||
# If we turn on buildroot host QEMU some day.
|
||||
#cmd="./buildroot/output/host/usr/bin/qemu-system-x86_64 \
|
||||
cmd="qemu-system-x86_64 \
|
||||
cmd="./buildroot/output/host/usr/bin/qemu-system-x86_64 \
|
||||
-M pc \
|
||||
-append 'root=/dev/vda $extra_append' \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
|
||||
Reference in New Issue
Block a user