Il 17/10/2012 16:51, Markus Armbruster ha scritto:
>> > /* Basic flow for negotiation
> The boilerplate pattern
>
> Error *local_err = NULL;
> FOO(..., *local_err);
> if (local_err) {
> qerror_report_err(local_err);
> error_free(local_err);
> }
>
> is spreading.
Paolo Bonzini writes:
> Before:
>
> $ qemu-system-x86_64 nbd:localhost:12345
> inet_connect_opts: connect(ipv4,yakj.usersys.redhat.com,127.0.0.1,12345):
> Connection refused
> qemu-system-x86_64: could not open disk image nbd:localhost:12345:
> Connection refused
>
> After:
>
>
Before:
$ qemu-system-x86_64 nbd:localhost:12345
inet_connect_opts: connect(ipv4,yakj.usersys.redhat.com,127.0.0.1,12345):
Connection refused
qemu-system-x86_64: could not open disk image nbd:localhost:12345:
Connection refused
After:
$ x86_64-softmmu/qemu-system-x86_64 nbd:loc