I configured Qemu's grub the following way:
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial"
GRUB_CMDLINE_LINUX="..console=ttyS0"
and run the qemu
process with the -nographic
command line option. These enables to use the current terminal for the serial console and qemu
monitor console. However now, anytime I press Ctrl+C inside the running VM, it is intercepted by qemu
and shuts the process down.
How am I supposed to pass Ctrl+C or any other keystroke involving CTRL in Qemu?