On Wed, May 07, 2008 at 12:47:40PM -0700, Dave Leskovec wrote:
Daniel Veillard wrote:
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
[...]
-close(vm-parentTty);
+//close(vm-parentTty);
close(vm-containerTtyFd);
if we really don't need this anymore just
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
This patch changes the lxc tty forwarding process to use epoll instead of
poll.
This is done to avoid a cpu consuming loop when a user disconnects from the
container console.
During some testing, we found that when the slave
On Wed, May 07, 2008 at 08:25:58AM -0400, Daniel Veillard wrote:
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
This patch changes the lxc tty forwarding process to use epoll instead of
poll.
This is done to avoid a cpu consuming loop when a user disconnects from the
Daniel Veillard [EMAIL PROTECTED] wrote:
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
Sounds fine in principle but i have a couple of questions with the patch
+#include stdbool.h
err ... what is that ? looks like a linux specific header, do we really
need this ? epoll
On Wed, May 07, 2008 at 03:45:46PM +0200, Jim Meyering wrote:
Daniel Veillard [EMAIL PROTECTED] wrote:
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
Sounds fine in principle but i have a couple of questions with the patch
+#include stdbool.h
err ... what is that ?
Daniel Veillard wrote:
On Tue, May 06, 2008 at 12:51:08AM -0700, Dave Leskovec wrote:
[...]
-close(vm-parentTty);
+//close(vm-parentTty);
close(vm-containerTtyFd);
if we really don't need this anymore just remove it, if you have doubts then
maybe this should be clarified. In
This patch changes the lxc tty forwarding process to use epoll instead of poll.
This is done to avoid a cpu consuming loop when a user disconnects from the
container console.
During some testing, we found that when the slave end of a tty is closed, calls
to poll() on the master end will return