[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 02/18] qemu-sockets: add Error ** to all functio
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 02/18] qemu-sockets: add Error ** to all functions |
Date: |
Thu, 04 Oct 2012 18:39:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
Il 04/10/2012 18:19, Luiz Capitulino ha scritto:
>> >
>> > -int unix_listen_opts(QemuOpts *opts)
>> > +int unix_listen_opts(QemuOpts *opts, Error **errp)
>> > {
>> > - fprintf(stderr, "unix sockets are not available on windows\n");
>> > + error_setg(errp, "unix sockets are not available on windows");
> As we've discussed in a previous series, this breaks error reporting
> for unix_listen_opts() until errp is passed _and_ the error is routed
> to the right direction (in this case stderr).
>
> Is this fixed later in this series? If it's not, when do you plan to fix it?
It is (which is why the single patch became 18), and I can move this
hunk at the end of the series. Note that is just for Windows code and
should really never run.
Paolo
[Qemu-devel] [PATCH 02/18] qemu-sockets: add Error ** to all functions, Paolo Bonzini, 2012/10/03
[Qemu-devel] [PATCH 03/18] qemu-sockets: unix_listen and unix_connect are portable, Paolo Bonzini, 2012/10/03
[Qemu-devel] [PATCH 05/18] migration: avoid using error_is_set, Paolo Bonzini, 2012/10/03
[Qemu-devel] [PATCH 04/18] qemu-sockets: add nonblocking connect for Unix sockets, Paolo Bonzini, 2012/10/03