[Spice-devel] [PATCH 0/2] server: listen on a pre-opened file descriptor

Nahum Shalman nshalman at elys.com
Fri Mar 9 09:26:49 PST 2012


With thanks to Daniel Berrange for his guidance, this is a redo of my
previous pair of patches.

Listening on a unix socket was hitting ENOPROTOOPT, so I'm now allowing
that error.

I've also generalized the naming per Daniel's suggestion since this could
be flexibly used in lots of different scenarios.

Nahum Shalman (2):
  server: don't fail on ENOPROTOOPT from setsockopt
  server: listen on a pre-opened file descriptor

 server/inputs_channel.c  |    2 +-
 server/reds.c            |   21 +++++++++++++++++++++
 server/spice-server.syms |    1 +
 server/spice.h           |    1 +
 server/spicevmc.c        |    2 +-
 5 files changed, 25 insertions(+), 2 deletions(-)

-- 
1.7.7.6



More information about the Spice-devel mailing list