]> xenbits.xensource.com Git - libvirt.git/commit
Avoid LXC pivot root in the root source is still /
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 11 May 2012 14:09:27 +0000 (15:09 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 16 May 2012 09:05:47 +0000 (10:05 +0100)
commitc16b4c43fcdd8ec02581f38377983b2e0925bfcd
tree4dbd0c0178aa1aed72cdd7454ce0dcb3e9c7ef1d
parente8639920acd4bd5aadc281784723afed6ec069ca
Avoid LXC pivot root in the root source is still /

If the LXC config has a filesystem

  <filesystem>
     <source dir='/'/>
     <target dir='/'/>
  </filesystem>

then there is no need to go down the pivot root codepath.
We can simply use the existing root as needed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_container.c