Re: [PATCH v1 1/1] chardev: enable guest socket status/crontrol via DTR and DCD

2022-01-12 Thread Darrin M. Gorski
u were hoping for. But the day job takes priority ;) - Darrin On Wed, Jan 12, 2022 at 10:20 AM Aaro Koskinen wrote: > Hi, > > On Wed, Dec 16, 2020 at 05:06:51PM -0500, Darrin M. Gorski wrote: > > This patch adds a 'modemctl' option to "-chardev socket" to

Re: [PATCH v1 1/1] chardev: enable guest socket status/crontrol via DTR and DCD

2020-12-18 Thread Darrin M. Gorski
ré Lureau < marcandre.lur...@gmail.com> wrote: > Hi > > On Thu, Dec 17, 2020 at 9:54 PM Darrin M. Gorski > wrote: > >> >> > That sounds like a good idea to me, but others may have different >> opinions. >> >> My original idea was simply to allow DCD

Re: [PATCH v1 1/1] chardev: enable guest socket status/crontrol via DTR and DCD

2020-12-17 Thread Darrin M. Gorski
020 at 9:16 AM Marc-André Lureau < marcandre.lur...@gmail.com> wrote: > Hi > > On Thu, Dec 17, 2020 at 2:54 AM Darrin M. Gorski > wrote: > >> >> This patch adds a 'modemctl' option to "-chardev socket" to enable >> control of the socket via

[Bug 1213196] Re: -serial tcp should hang up when DTR goes low

2020-12-16 Thread Darrin M. Gorski
Sent in a patch for this. https://lists.gnu.org/archive/html/qemu-devel/2020-12/msg04658.html DTR controls the socket. DCD reflects the state of the socket. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net

[PATCH v1 1/1] chardev: enable guest socket status/crontrol via DTR and DCD

2020-12-16 Thread Darrin M. Gorski
de socket connection status through the carrier detect line (CD or DCD) on the guest serial port Buglink: https://bugs.launchpad.net/qemu/+bug/1213196 Signed-off-by: Darrin M. Gorski diff --git a/chardev/char-socket.c b/chardev/char-socket.c index 213a4c8dd0..94dd28e0cd 100644 --- a/chardev

[Bug 1213196] Re: -serial tcp should hang up when DTR goes low

2020-08-12 Thread Darrin M. Gorski
In addition to allowing low DTR to drop the socket connection, and allowing low DTR to reject a socket connection, the DCD modem bit also be implemented - DCD should follow the state of the TCP socket: a connected socket should pull DCD high, and a disconnected socket should pull DCD low. From what