Re: [lxc-devel] autodev (was Re: [Lxc-users] [GIT] lxc branch, master, updated.) 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-11-23 Thread Michael H. Warfield
On Fri, 2012-11-23 at 14:15 -0600, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): > > Serge... > > > > You need to go in for doing psychic readings or buy lots of lottery > > ticks because I think you must have been channeling me and reading my > > mind. I've been close to

Re: [lxc-devel] [PATCH 1/2] python: Add add_device() function

2012-11-23 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > > The cgroup tweaking should be done using generic code. Maybe it's > > time to add those to the c api... > > Totally agreed, I was actually going to nag you again this cycle about > getting a set_cgroup_item() and get_cgroup_item() function in the

[lxc-devel] [PATCH] Add lxc.autodev (v2)

2012-11-23 Thread Serge Hallyn
Add a container config option to mount and populate /dev in a container. We might want to add options to specify a max size for /dev other than the default 100k, and to specify other devices to create. And maybe someone can think of a better name than autodev. Changelog: Don't error out if we co

Re: [lxc-devel] autodev (was Re: [Lxc-users] [GIT] lxc branch, master, updated.) 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-11-23 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > Serge... > > You need to go in for doing psychic readings or buy lots of lottery > ticks because I think you must have been channeling me and reading my > mind. I've been close to posting on this off and on for the last couple > of days but kept

Re: [lxc-devel] [PATCH 1/2] python: Add add_device() function

2012-11-23 Thread Stéphane Graber
On 11/23/2012 10:39 AM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> This introduces a new add_devices() call to the python API. >> >> Parameters: >> - path => Mandatory, path to a character or block device on the host >> - destpath => Optional, alternative path inside

Re: [lxc-devel] autodev (was Re: [Lxc-users] [GIT] lxc branch, master, updated.) 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-11-23 Thread Michael H. Warfield
Serge... You need to go in for doing psychic readings or buy lots of lottery ticks because I think you must have been channeling me and reading my mind. I've been close to posting on this off and on for the last couple of days but kept going "I need to test this" and "what about this combination"

[lxc-devel] autodev (was Re: [Lxc-users] [GIT] lxc branch, master, updated.) 7f99e339363d9f005c9386f60a1d8c0953c85053

2012-11-23 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@canonical.com): > Quoting Michael H. Warfield (m...@wittsend.com): > > On Thu, 2012-11-01 at 20:15 -0400, Michael H. Warfield wrote: > > > On Thu, 2012-11-01 at 19:17 -0400, Michael H. Warfield wrote: > > > > On Thu, 2012-11-01 at 23:28 +0100, Serge Hallyn wrote:

Re: [lxc-devel] [PATCH 1/2] python: Add add_device() function

2012-11-23 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): > This introduces a new add_devices() call to the python API. > > Parameters: > - path => Mandatory, path to a character or block device on the host > - destpath => Optional, alternative path inside the container > > The function will allow the nod