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

2012-11-26 Thread Stéphane Graber
On 11/23/2012 03:19 PM, Serge Hallyn wrote: > 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_cgr

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

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] [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