qemu -2022
作者:互联网
qemu-system-x86_64 -m 4096m -kernel ./kernel -append "root=/dev/sda rdinit=/bin/sh rw console=ttyS0 rootfstype=ramfs kgdboc=ttyS0,115200 kgdbwait kdb=on loglevel=7" -nographic --enable-kvm -s --initrd ./x86_64.cpio.gz
https://os.51cto.com/art/202107/675324.htm
https://wenfh2020.com/2021/05/19/gdb-kernel-networking/
https://wenfh2020.com/2021/06/23/vscode-gdb-debug-linux-kernel/
标签:kernel,2022,qemu,64,https,com,ttyS0 来源: https://www.cnblogs.com/axjlxy/p/15770461.html