console: Make sure error socket is non blocking

This commit is contained in:
Cole Robinson 2010-02-12 10:45:07 -05:00
parent bb1102afe6
commit 4ff0832301
1 changed files with 1 additions and 0 deletions

View File

@ -551,6 +551,7 @@ class vmmConsolePages(gobject.GObject):
logging.debug("Tunnel PID=%d OUTFD=%d ERRFD=%d" %
(pid, fds[0].fileno(), errorfds[0].fileno()))
errorfds[0].setblocking(0)
self.vncTunnel = [fds[0], errorfds[0], pid]
return fds[0].fileno()