[Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-04 Thread minyard
From: Corey Minyard Allow a socket that connects to reconnect on a periodic basis if it fails to connect at startup or if the connection drops while in use. Signed-off-by: Corey Minyard --- include/sysemu/char.h | 16 - qemu-char.c | 165 +

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-05 Thread Weidong Huang
On 2014/3/5 8:38, miny...@acm.org wrote: > From: Corey Minyard > > Allow a socket that connects to reconnect on a periodic basis if it > fails to connect at startup or if the connection drops while in use. > > Signed-off-by: Corey Minyard > --- > include/sysemu/char.h | 16 - > qemu-char

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-05 Thread Michael S. Tsirkin
On Tue, Mar 04, 2014 at 06:38:52PM -0600, miny...@acm.org wrote: > From: Corey Minyard > > Allow a socket that connects to reconnect on a periodic basis if it > fails to connect at startup or if the connection drops while in use. > > Signed-off-by: Corey Minyard > --- > include/sysemu/char.h |

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-06 Thread Corey Minyard
On 03/06/2014 12:47 AM, Weidong Huang wrote: > escape sequences. > > +@option{reconnect} specifies that if the client socket does not connect at > +startup, or if the client socket is closed for some reason (like the other > +end exited), wait the given number of seconds and attempt to reconnect

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-06 Thread Michael S. Tsirkin
On Thu, Mar 06, 2014 at 11:18:00AM -0600, Corey Minyard wrote: > On 03/06/2014 12:47 AM, Weidong Huang wrote: > > escape sequences. > > > > +@option{reconnect} specifies that if the client socket does not connect at > > +startup, or if the client socket is closed for some reason (like the other

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-06 Thread Corey Minyard
On 03/06/2014 01:43 AM, Michael S. Tsirkin wrote: > > +@option{reconnect} specifies that if the client socket does not connect at > +startup, or if the client socket is closed for some reason (like the other > +end exited), wait the given number of seconds and attempt to reconnect. > + > TCP and

Re: [Qemu-devel] [PATCH 2/7] qemu-char: Allow a chardev to reconnect if disconnected

2014-03-06 Thread Michael S. Tsirkin
On Thu, Mar 06, 2014 at 12:04:24PM -0600, Corey Minyard wrote: > On 03/06/2014 01:43 AM, Michael S. Tsirkin wrote: > > > > +@option{reconnect} specifies that if the client socket does not connect at > > +startup, or if the client socket is closed for some reason (like the other > > +end exited),