
On 07/22/2011 07:41 AM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange"<berrange@redhat.com>
The bind mount setup is about to get more complicated. To avoid having to deal with several copies, pull it out into a separate lxcContainerMountFSBind method.
Also pull out the iteration over container filesystems, so that it will be easier to drop in support for non-bind mount filesystems
* src/lxc/lxc_container.c: Pull bind mount code out into lxcContainerMountFSBind --- src/libvirt_private.syms | 2 + src/lxc/lxc_container.c | 118 ++++++++++++++++++++++++++++----------------- 2 files changed, 75 insertions(+), 45 deletions(-)
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org