All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] Add reconnect capability for client sockets
@ 2014-09-21 23:04 minyard
  2014-09-21 23:04 ` [Qemu-devel] [PATCH 1/6] qemu-char: Make the filename size for a chardev a #define minyard
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: minyard @ 2014-09-21 23:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcketchum, mjg59, hwd, afaerber, mst

I believe this fixes all the issues identified by the reviewers, and
also avoids leaking a few data items.

I also added some fixes for things that seemed sub-optimal.  The biggest
was that there was no way to tell from the monitor whether a socket was
connected or not.  Patch 4 sets the filename to "disconnected:<addr>" when
the socket disconnects, were <addr> is the address supplied by the user.

Changing "256' to a #define also seemed like a good idea.

It also seems like a good idea to me to print out the peer address of
a socket.  That's the last patch, so it can be easily dropped if this
is not wanted.

Thanks all,

-corey

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Qemu-devel] [PATCH v2 0/6] chardev: Add reconnecting to client sockets
@ 2014-09-22 16:59 minyard
  2014-09-22 16:59 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
  0 siblings, 1 reply; 25+ messages in thread
From: minyard @ 2014-09-22 16:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcketchum, mjg59, hwd, afaerber, mst

I believe I have fixed all the issues Paulo pointed out and added
a Reviewed-by for all the patches except patch 5.  Retested and it
looks good.  Thanks.

-corey

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Qemu-devel] [PATCH v3 0/6] chardev: Add reconnecting to client sockets
@ 2014-09-25 20:07 minyard
  2014-09-25 20:07 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
  0 siblings, 1 reply; 25+ messages in thread
From: minyard @ 2014-09-25 20:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcketchum, mjg59, hwd, afaerber, mst

I believe this fixes all identified issues.  Thanks to all that
have commented to help with this.

-corey

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Qemu-devel] [PATCH v4 0/6] Add reconnect capability to sockets
@ 2014-10-01 21:09 minyard
  2014-10-01 21:09 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
  0 siblings, 1 reply; 25+ messages in thread
From: minyard @ 2014-10-01 21:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcketchum, mjg59, hwd, afaerber, mst

This fixes some tab damage from the previous set.  That's it.

-corey

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [Qemu-devel] [PATCH v5 0/6] Add reconnecting to client sockets
@ 2014-10-02 16:17 minyard
  2014-10-02 16:17 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
  0 siblings, 1 reply; 25+ messages in thread
From: minyard @ 2014-10-02 16:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: bcketchum, mjg59, hwd, afaerber, mst

One more time, with the rework added to qemu_chr_finish_socket_connection()
that I should have seen.  It didn't generate any errors, so there was no
point in having error returns from it.

Also added an assert to qemu_chr_socket_restart_timer().

Thanks,

-corey

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-10-02 16:18 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-21 23:04 [Qemu-devel] [PATCH 0/6] Add reconnect capability for client sockets minyard
2014-09-21 23:04 ` [Qemu-devel] [PATCH 1/6] qemu-char: Make the filename size for a chardev a #define minyard
2014-09-22  7:46   ` Paolo Bonzini
2014-09-21 23:04 ` [Qemu-devel] [PATCH 2/6] qemu-char: Rework qemu_chr_open_socket() for reconnect minyard
2014-09-22  8:08   ` Paolo Bonzini
2014-09-21 23:04 ` [Qemu-devel] [PATCH 3/6] qemu-char: Move some items into TCPCharDriver minyard
2014-09-22  7:46   ` Paolo Bonzini
2014-09-21 23:04 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
2014-09-22  8:06   ` Paolo Bonzini
2014-09-22 13:15     ` Corey Minyard
2014-09-22 13:25       ` Paolo Bonzini
2014-09-22 13:30         ` Corey Minyard
2014-09-22 13:39           ` Paolo Bonzini
2014-09-21 23:04 ` [Qemu-devel] [PATCH 5/6] qemu-char: Add reconnecting to client sockets minyard
2014-09-22  8:02   ` Paolo Bonzini
2014-09-22 20:24   ` Eric Blake
2014-09-22 20:36     ` Corey Minyard
2014-09-22 20:53       ` Eric Blake
2014-09-21 23:04 ` [Qemu-devel] [PATCH 6/6] qemu-char: Print the remote and local addresses for a socket minyard
2014-09-22  8:02   ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2014-09-22 16:59 [Qemu-devel] [PATCH v2 0/6] chardev: Add reconnecting to client sockets minyard
2014-09-22 16:59 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
2014-09-25 20:07 [Qemu-devel] [PATCH v3 0/6] chardev: Add reconnecting to client sockets minyard
2014-09-25 20:07 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
2014-10-01 21:09 [Qemu-devel] [PATCH v4 0/6] Add reconnect capability to sockets minyard
2014-10-01 21:09 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard
2014-10-02 12:20   ` Paolo Bonzini
2014-10-02 16:17 [Qemu-devel] [PATCH v5 0/6] Add reconnecting to client sockets minyard
2014-10-02 16:17 ` [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected minyard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.