[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v4 4/9] io: add QIOChannelSocket class
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PULL v4 4/9] io: add QIOChannelSocket class |
Date: |
Fri, 8 Jan 2016 10:04:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 18/12/2015 13:21, Daniel P. Berrange wrote:
> +
> + if (nfds > SOCKET_MAX_FDS) {
> + error_setg_errno(errp, -EINVAL,
> + "Only %d FDs can be sent, got %zu",
> + SOCKET_MAX_FDS, nfds);
> + return -1;
> + }
Hi Daniel,
the second argument here should be positive (s/-EINVAL/EINVAL).
Paolo
- Re: [Qemu-devel] [PULL v4 4/9] io: add QIOChannelSocket class,
Paolo Bonzini <=