diff options
| author | Stefan Hajnoczi | 2013-03-27 10:10:45 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2013-04-02 17:47:37 +0200 |
| commit | 1a751ebfbb2d7a696b889d8208cb5ffc83c090b1 (patch) | |
| tree | e277914b66d699190851f7c3284b58629ea6373d /ui | |
| parent | net: ensure "socket" backend uses non-blocking fds (diff) | |
| download | qemu-1a751ebfbb2d7a696b889d8208cb5ffc83c090b1.tar.gz qemu-1a751ebfbb2d7a696b889d8208cb5ffc83c090b1.tar.xz qemu-1a751ebfbb2d7a696b889d8208cb5ffc83c090b1.zip | |
qemu-socket: set passed fd non-blocking in socket_connect()
socket_connect() sets non-blocking on TCP or UNIX domain sockets if a
callback function is passed. Do the same for file descriptor passing,
otherwise we could unexpectedly be using a blocking file descriptor.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions
