Re: [PATCH 1/1] pty: BREAK for pseudoterminals

From: One Thousand Gnomes
Date: Mon Feb 23 2015 - 05:53:41 EST


On Fri, 6 Feb 2015 03:11:29 +0800
Nan Li <nli@xxxxxxxx> wrote:

> This will greatly enhance the usefulness of QEMU virtual serial ports, because the Linux kernel interprets a break on the serial console as a SysRq, but there is currently no way to pass this signal over a pseudo-terminal. This patch will work for transmitting BREAK from master to slave through pseudo-terminal.

Break is a signalling event not a 0 character. pty doesn't support modem
or other serial signalling events. Whether some kind of virtio tty<->host
interface should exist and do that I don't know, but pty does not.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/