Re: [libvirt] [PATCH v2 2/3] Auto-add a root element to LXC containers on startup

2013-04-04 Thread Gao feng
On 2013/04/04 04:15, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently the LXC container code has two codepaths, depending on > whether there is a element with a target path of '/'. > If we automatically add a device with src=/ and dst=/, > for any container which has not spe

Re: [libvirt] [PATCH v2 2/3] Auto-add a root element to LXC containers on startup

2013-04-03 Thread Eric Blake
On 04/03/2013 02:15 PM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently the LXC container code has two codepaths, depending on > whether there is a element with a target path of '/'. > If we automatically add a device with src=/ and dst=/, > for any container which has not

[libvirt] [PATCH v2 2/3] Auto-add a root element to LXC containers on startup

2013-04-03 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Currently the LXC container code has two codepaths, depending on whether there is a element with a target path of '/'. If we automatically add a device with src=/ and dst=/, for any container which has not specified a root filesystem, then we only need one codepath fo