1. 21 12月, 2012 4 次提交
  2. 18 12月, 2012 4 次提交
  3. 28 11月, 2012 4 次提交
    • G
      make /proc/meminfo isolate with host through fuse · d671c0ed
      Gao feng 提交于
      with this patch,container's meminfo will be shown based on
      containers' mem cgroup.
      
      Right now,it's impossible to virtualize all values in meminfo,
      I collect some values such as MemTotal,MemFree,Cached,Active,
      Inactive,Active(anon),Inactive(anon),Active(file),Inactive(anon),
      Active(file),Inactive(file),Unevictable,SwapTotal,SwapFree.
      
      if I miss something, please let me know.
      Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
      d671c0ed
    • G
      add fuse support for libvirt lxc · 2a596dac
      Gao feng 提交于
      this patch addes fuse support for libvirt lxc.
      we can use fuse filesystem to generate sysinfo dynamically,
      So we can isolate /proc/meminfo,cpuinfo and so on through
      fuse filesystem.
      
      we mount fuse filesystem for every container.
      the mount name is libvirt,mount point is
      localstatedir/run/libvirt/lxc/containername.
      Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
      2a596dac
    • D
      Treat missing driver cgroup as fatal in LXC driver · 7c5ba648
      Daniel P. Berrange 提交于
      The LXC driver relies on use of cgroups to kill off LXC processes
      in shutdown. If cgroups aren't available, we're unable to kill
      off processes, so we must treat lack of cgroups as a fatal startup
      error.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      7c5ba648
    • D
      Ensure LXC container exits if cgroups setup fails · 8e1f0c38
      Daniel P. Berrange 提交于
      The code setting up LXC cgroups used an 'rc' variable both
      for capturing the return value of methods it calls, and
      its own return status. The result was that several failures
      in setting up cgroups would actually result in success being
      returned.
      
      Use a separate 'ret' for tracking return value as per normal
      code design in other parts of libvirt
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      8e1f0c38
  4. 21 9月, 2012 1 次提交
  5. 23 7月, 2012 1 次提交
    • O
      Desert the FSF address in copyright · f9ce7dad
      Osier Yang 提交于
      Per the FSF address could be changed from time to time, and GNU
      recommends the following now: (http://www.gnu.org/licenses/gpl-howto.html)
      
        You should have received a copy of the GNU General Public License
        along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
      
      This patch removes the explicit FSF address, and uses above instead
      (of course, with inserting 'Lesser' before 'General').
      
      Except a bunch of files for security driver, all others are changed
      automatically, the copyright for securify files are not complete,
      that's why to do it manually:
      
        src/security/security_selinux.h
        src/security/security_driver.h
        src/security/security_selinux.c
        src/security/security_apparmor.h
        src/security/security_apparmor.c
        src/security/security_driver.c
      f9ce7dad
  6. 19 7月, 2012 1 次提交