Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752152AbbBWKxi (ORCPT ); Mon, 23 Feb 2015 05:53:38 -0500 Received: from 251.110.2.81.in-addr.arpa ([81.2.110.251]:52757 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751413AbbBWKxh (ORCPT ); Mon, 23 Feb 2015 05:53:37 -0500 Date: Mon, 23 Feb 2015 10:53:21 +0000 From: One Thousand Gnomes To: Nan Li Cc: gregkh@linuxfoundation.org, jslaby@suse.cz, linux-kernel@vger.kernel.org, ptesarik@suse.cz Subject: Re: [PATCH 1/1] pty: BREAK for pseudoterminals Message-ID: <20150223105321.185c1848@lxorguk.ukuu.org.uk> In-Reply-To: <1423163489-26538-1-git-send-email-nli@suse.com> References: <1423163489-26538-1-git-send-email-nli@suse.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 15 On Fri, 6 Feb 2015 03:11:29 +0800 Nan Li 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/