search for: conspty

Displaying 1 result from an estimated 1 matches for "conspty".

2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
...+ goto free_msg; + + if (discard) { + dbg("discard set, queueing %p for discard check\n", + pmsg->data); + __queue_msg(discard, pmsg); + } else + destroy_msg(pmsg); + } while (1); + + free_msg: + destroy_msg(pmsg); + done: + return ret; +} + +static int console_loop(int conspty, int infd, int outfd, int noecho) +{ + int ret; + int max; + + struct queue console = { + .head = NULL, + .tail = NULL, + }; + + struct queue out = { + .head = NULL, + .tail = NULL, + }; + + struct queue discard_queue = { + .head = NULL, + .tail = NULL, + }; + + struct queue *discard = (noech...