Re: [RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-15 Thread Markus Armbruster
Adalbert Lazãr writes: > On Wed, 15 Apr 2020 16:11:14 +0200, Markus Armbruster > wrote: >> Adalbert Lazãr writes: [...] >> > Until this moment, I did not think that we can use "server=no" through QMP >> > :)) >> >> Start here: >> >> $ socat "READLINE,history=$HOME/.qmp_history,prompt=QM

Re: [RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-15 Thread Adalbert Lazăr
On Wed, 15 Apr 2020 16:11:14 +0200, Markus Armbruster wrote: > Adalbert Lazãr writes: > > > On Wed, 15 Apr 2020 12:37:34 +0200, Marc-André Lureau > > wrote: > >> Hi > >> > >> On Wed, Apr 15, 2020 at 3:00 AM Adalbert Lazăr > >> wrote: > >> > > >> > qmp_chardev_open_socket() ignores the absen

Re: [RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-15 Thread Markus Armbruster
Adalbert Lazãr writes: > On Wed, 15 Apr 2020 12:37:34 +0200, Marc-André Lureau > wrote: >> Hi >> >> On Wed, Apr 15, 2020 at 3:00 AM Adalbert Lazăr >> wrote: >> > >> > qmp_chardev_open_socket() ignores the absence of the 'server' argument >> > and always switches to listen/server mode. >> > >

Re: [RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-15 Thread Adalbert Lazăr
On Wed, 15 Apr 2020 12:37:34 +0200, Marc-André Lureau wrote: > Hi > > On Wed, Apr 15, 2020 at 3:00 AM Adalbert Lazăr wrote: > > > > qmp_chardev_open_socket() ignores the absence of the 'server' argument > > and always switches to listen/server mode. > > > > CC: "Marc-André Lureau" > > CC: Paol

Re: [RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-15 Thread Marc-André Lureau
Hi On Wed, Apr 15, 2020 at 3:00 AM Adalbert Lazăr wrote: > > qmp_chardev_open_socket() ignores the absence of the 'server' argument > and always switches to listen/server mode. > > CC: "Marc-André Lureau" > CC: Paolo Bonzini > Signed-off-by: Adalbert Lazăr > --- > chardev/char-socket.c | 2 +-

[RFC PATCH v1 03/26] char-socket: fix the client mode when created through QMP

2020-04-14 Thread Adalbert Lazăr
qmp_chardev_open_socket() ignores the absence of the 'server' argument and always switches to listen/server mode. CC: "Marc-André Lureau" CC: Paolo Bonzini Signed-off-by: Adalbert Lazăr --- chardev/char-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chardev/char-s