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

2013-04-03 Thread Daniel P. Berrange
On Wed, Apr 03, 2013 at 11:17:30AM -0600, Eric Blake wrote: > On 04/03/2013 10:02 AM, 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 automaticall

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

2013-04-03 Thread Eric Blake
On 04/03/2013 10:02 AM, 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 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