# QEMU qemu-system-x86_64 -m 4G -M pc,accel=kvm -kernel arch/x86/boot/bzImage -drive file=arch.iso,if=virtio -nographic -monitor tcp::1111,server,nowait -gdb tcp::1234 -serial stdio -append 'console=ttyS0 root=/dev/vda acpi.aml_debug_output=1 archisolabel=ARCH_201610' -initrd archiso.img # GDB gdb -q -iex "add-auto-load-safe-path $PWD/scripts/gdb/vmlinux-gdb.py" vmlinux