[libvirt] [PATCH 2/3] Refactor mounting of special filesystems

Eric Blake eblake at redhat.com
Fri Jul 22 14:00:51 UTC 2011


On 07/22/2011 07:42 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> Even in non-virtual root filesystem mode we should be mounting
> more than just a new /proc. Refactor lxcContainerMountBasicFS
> so that it does everything except for /dev and /dev/pts moving
> that into lxcContainerMountDevFS. Pass in a source prefix
> to lxcContainerMountBasicFS() so it can be used in both shared
> root and private root modes.
>
> * src/lxc/lxc_container.c: Unify mounting code for special
>    filesystems
> ---
>   src/lxc/lxc_container.c |   85 ++++++++++++++++++++++++++++++++++-------------
>   1 files changed, 62 insertions(+), 23 deletions(-)
>

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list