[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnec
From: |
Corey Minyard |
Subject: |
Re: [Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected |
Date: |
Mon, 22 Sep 2014 08:30:36 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 09/22/2014 08:25 AM, Paolo Bonzini wrote:
> Il 22/09/2014 15:15, Corey Minyard ha scritto:
>>>> Why move this from qemu_chr_finish_socket_connection to tcp_chr_connect?
>>>> Perhaps move this part of the patch earlier, either just before or just
>>>> after patch 2?
>> I had to make this change, otherwise a server socket would never show
>> that it reconnected. I originally hadn't moved it.
> Reconnected or connected? How does reconnection work with server
> sockets? I guess you can then move it to patch 2.
When a server socket disconnects, it runs through the disconnect code so it
shows "disconnected". It does not call
qemu_chr_finish_socket_connection when
it reconnects, though, so it would never show the new connection.
I can move it to patch 2, but it seems more logical to me here, since it
doesn't really
matter until this patch.
Thanks,
-corey
- Re: [Qemu-devel] [PATCH 5/6] qemu-char: Add reconnecting to client sockets, (continued)
[Qemu-devel] [PATCH 6/6] qemu-char: Print the remote and local addresses for a socket, minyard, 2014/09/21
[Qemu-devel] [PATCH 3/6] qemu-char: Move some items into TCPCharDriver, minyard, 2014/09/21
[Qemu-devel] [PATCH 4/6] qemu-char: set socket filename to disconnected when not connected, minyard, 2014/09/21