« Previous | Next » 

Revision 1a751ebf

ID1a751ebfbb2d7a696b889d8208cb5ffc83c090b1

Added by Stefan Hajnoczi about 11 years ago

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 <>
Reviewed-by: Eric Blake <>
Signed-off-by: Luiz Capitulino <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences