Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-19 Thread Paolo Bonzini
> >> If yes, but it's healed later in the series, the temporary > >> breakage still needs to be spelled out in the commit message. > > > > No, it's not healed, which is why it's mentioned in the commit > > message that future work is needed. > > I really hate "reward" submissions of tons of useful

Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-19 Thread Markus Armbruster
Paolo Bonzini writes: > Il 17/10/2012 17:40, Markus Armbruster ha scritto: >>> > if (s->current_addr) { >>> > while (s->current_addr->ai_next != NULL && s->fd < 0) { >>> > s->current_addr = s->current_addr->ai_next; >>> > -s->fd = inet_connect_addr(s->curren

Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-17 Thread Paolo Bonzini
Il 17/10/2012 17:40, Markus Armbruster ha scritto: >> > if (s->current_addr) { >> > while (s->current_addr->ai_next != NULL && s->fd < 0) { >> > s->current_addr = s->current_addr->ai_next; >> > -s->fd = inet_connect_addr(s->current_addr, &in_progress, s); >> >

Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-17 Thread Markus Armbruster
Paolo Bonzini writes: > perror and fprintf can be removed because all clients can now consume > Errors properly. However, we need to change the non-blocking connect > handlers to take an Error, in order to improve error handling for > migration with the TCP protocol. The second sentence is abou

Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-16 Thread Luiz Capitulino
On Wed, 10 Oct 2012 16:02:56 +0200 Paolo Bonzini wrote: > perror and fprintf can be removed because all clients can now consume > Errors properly. However, we need to change the non-blocking connect > handlers to take an Error, in order to improve error handling for > migration with the TCP prot

[Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr

2012-10-10 Thread Paolo Bonzini
perror and fprintf can be removed because all clients can now consume Errors properly. However, we need to change the non-blocking connect handlers to take an Error, in order to improve error handling for migration with the TCP protocol. Reviewed-by: Paolo Bonzini Signed-off-by: Paolo Bonzini -