qemu-sockets: Add error to non-blocking connect handler
commit5179502918d0c230afb50d8b95247de440fccdd5
authorCorey Minyard <cminyard@mvista.com>
Wed, 8 Oct 2014 12:11:56 +0000 (8 07:11 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Oct 2014 13:36:15 +0000 (9 15:36 +0200)
treea13f4148a4400cdbe43e8ccfbd0808393aa74385
parent5748e4c2be4f5c24c691f91328be02a9c4cb3063
qemu-sockets: Add error to non-blocking connect handler

An error value here would be quite handy and more consistent
with the rest of the code.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
[Make sure SO_ERROR value is passed to error_setg_errno. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/sockets.h
migration-tcp.c
migration-unix.c
qemu-char.c
util/qemu-sockets.c