qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 15/25] qemu-sockets: add error propagation to inet_connect_addr
Date: Wed, 17 Oct 2012 17:50:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121009 Thunderbird/16.0

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);
>> > +            s->fd = inet_connect_addr(s->current_addr, &in_progress, s, 
>> > NULL);
> Doesn't this drop error messages?

Depends on what you mean by drop.  The error messages previously were
sent to stdio, hidden in a log file or just invisible, depending on how
QEMU is run.  (This is just for outgoing migration currently, so you
cannot rely on stdio as you can for command-line parsing).

> 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.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]