Re: [libvirt] [RFC PATCH 4/6] LXC: Creating devices for container on host side

2013-03-13 Thread Gao feng
On 2013/03/13 19:02, Daniel P. Berrange wrote: > On Mon, Mar 11, 2013 at 02:26:50PM +0800, Gao feng wrote: >> user namespace doesn't allow to create devices in >> uninit userns. We should create devices on host side. >> >> Signed-off-by: Gao feng >> --- >> src/lxc/lxc_container.c | 47 +++---

Re: [libvirt] [RFC PATCH 4/6] LXC: Creating devices for container on host side

2013-03-13 Thread Daniel P. Berrange
On Mon, Mar 11, 2013 at 02:26:50PM +0800, Gao feng wrote: > user namespace doesn't allow to create devices in > uninit userns. We should create devices on host side. > > Signed-off-by: Gao feng > --- > src/lxc/lxc_container.c | 47 +++ > src/lxc/lxc_controller.c | 83 >

[libvirt] [RFC PATCH 4/6] LXC: Creating devices for container on host side

2013-03-10 Thread Gao feng
user namespace doesn't allow to create devices in uninit userns. We should create devices on host side. Signed-off-by: Gao feng --- src/lxc/lxc_container.c | 47 +++ src/lxc/lxc_controller.c | 83 2 files changed, 94 inser