#!/bin/sh qemu-system-x86_64 \ -m 2G \ -smp 2 \ -cpu qemu64,+smep,+smap \ -kernel ../like-dbg/kernel_root/linux-6.6.75_x86_64_/arch/x86/boot/bzImage \ -initrd initramfs.cpio.gz \ -hdb flag.txt \ -snapshot \ -nographic \ -monitor /dev/null \ -no-reboot \ -append "console=ttyS0 nokaslr panic=1 pti=on" \ --trace "vsocket_*" \ -s \ -net nic,model=e1000 #-net user,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10021-:22 -net nic,model=e1000 \ #-kernel ../like-dbg/kernel_root/linux-6.6.75_x86_64_/arch/x86/boot/bzImage \ #-kernel ../like-dbg/kernel_root/linux-v6.6-rc1_x86_64_/arch/x86/boot/bzImage \