[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] qemu-sockets: Add error to non-blocking con
From: |
Corey Minyard |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] qemu-sockets: Add error to non-blocking connect handler |
Date: |
Thu, 09 Oct 2014 12:48:52 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 10/09/2014 05:07 AM, Paolo Bonzini wrote:
>> + error_setg_errno(&err, errno, "Error connecting to socket");
>> > closesocket(s->fd);
>> > s->fd = rc;
>> > }
> This is missing above this hunk:
>
> diff --git a/util/qemu-sockets.c b/util/qemu-sockets.c
> index e6a9644..a76bb3c 100644
> --- a/util/qemu-sockets.c
> +++ b/util/qemu-sockets.c
> @@ -245,6 +245,7 @@ static void wait_for_connect(void *opaque)
> /* update rc to contain error */
> if (!rc && val) {
> rc = -1;
> + errno = val;
> }
>
> /* connect error */
>
Yes, it is. I see that everything went in, thanks for your work on this.
Now on to IPMI...
-corey