]> git.proxmox.com Git - qemu.git/commit
net: inet_connect(), inet_connect_opts(): add in_progress argument
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 1 Aug 2012 16:42:47 +0000 (13:42 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 13 Aug 2012 16:20:34 +0000 (13:20 -0300)
commit02a08fef079469c005d48fe2d181f0e0eb5752ae
tree9de321a2b23b4a7509052a8c5c45f945db09acbf
parenteef5ad1086403d8ac8d91208a0e8dc34734b671c
net: inet_connect(), inet_connect_opts(): add in_progress argument

It's used to indicate the special case where a valid file-descriptor
is returned (ie. success) but the connection can't be completed
w/o blocking.

This is needed because QERR_SOCKET_CONNECT_IN_PROGRESS is not
treated like an error and a future commit will drop it.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
migration-tcp.c
nbd.c
qemu-char.c
qemu-sockets.c
qemu_socket.h
ui/vnc.c