[libvirt] [PATCH v4 05/10] LXC: Creating devices for container on host side

2013-06-07 Thread Gao feng
user namespace doesn't allow to create devices in uninit userns. We should create devices on host side. We first mount tmpfs on dev directroy under state dir of container. then create devices under this dev dir. Finally in container, mount the dev directroy created on host to the /dev/ directroy

Re: [libvirt] [PATCH v4 05/10] LXC: Creating devices for container on host side

2013-06-07 Thread Daniel P. Berrange
On Fri, Jun 07, 2013 at 03:12:22PM +0800, Gao feng wrote: user namespace doesn't allow to create devices in uninit userns. We should create devices on host side. We first mount tmpfs on dev directroy under state dir of container. then create devices under this dev dir. Finally in