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

Eric Blake eblake at redhat.com
Wed Apr 3 20:51:36 UTC 2013


On 04/03/2013 02:15 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Currently the LXC container code has two codepaths, depending on
> whether there is a <filesystem> element with a target path of '/'.
> If we automatically add a <filesystem> device with src=/ and dst=/,
> for any container which has not specified a root filesystem, then
> we only need one codepath for setting up the filesystem.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/lxc/lxc_container.c | 113 +++---------------------------------------------
>  src/lxc/lxc_process.c   |  35 +++++++++++++++
>  2 files changed, 41 insertions(+), 107 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130403/337bd219/attachment-0001.sig>


More information about the libvir-list mailing list