`pmbootstrap qemu` show pass-through ctrl+c
pmbootstrap qemu
runs qemu and gives me a terminal connected to a serial terminal inside the VM.
When I press Ctrl+c on this terminal, pmbootstrap
exits, instead of passing this through to the serial terminal.
Reproduction steps
- Set up a VM: https://wiki.postmarketos.org/wiki/Category:QEMU#Usage
- pmbootstrap qemu --image-size=6G
- On the terminal (which is not connected to the VM's serial port AFAIK), press Ctrl+c
What happens
pmbootstrap
exits (SIGINT) and kills the VM along the way
What should happen
The escape sequence should be sent to the VM.
Edited a few times for clarity.
Edited by Hugo Barrera