Changeset 2771 for trunk/doc

Show
Ignore:
Timestamp:
08/24/08 22:12:08 (3 months ago)
Author:
dhozac
Message:

cgroup support.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/configuration.xml

    r2740 r2771  
    305305        <description>The default /etc/resolv.conf file.</description> 
    306306      </data> 
     307    </collection> 
     308 
     309    <collection name="cgroup" use="optional" since="0.30.216" id="global-cgroup"> 
     310      <description> 
     311This directory contains cgroup settings which should be applied to all guests. 
     312See your kernel documentation for what settings are valid with your 
     313configuration. 
     314      </description> 
     315      <scalar name="mnt"> 
     316        <description> 
     317The directory to mount the cgroup hierarchy at. The default is /dev/cgroup. 
     318        </description> 
     319      </scalar> 
     320      <scalar name="subsys"> 
     321        <description> 
     322Comma-separated list of subsystems to enable on the cgroup mount point. 
     323The default is "all". 
     324        </description> 
     325      </scalar> 
     326      <list name="inherit"> 
     327        <description> 
     328Some subsystems start out with clean slates, making it impossible to use the 
     329cgroup before certain things have been set. This is true for e.g. the cpuset 
     330subsystem. This file contains a list of filenames which should be explicitly 
     331inherited from the parent (root) cgroup, if not overridden elsewhere. 
     332The default is cpuset.cpus and cpuset.mems. 
     333        </description> 
     334      </list> 
     335      <scalar name="name" id="global-cgroup-name"> 
     336        <description> 
     337If this file exists, all guests will be put in one cgroup named after the 
     338contents of this file. The default is to put each guest in a cgroup named the 
     339same thing as the guest. 
     340        </description> 
     341      </scalar> 
    307342    </collection> 
    308343  </collection> 
     
    16201655      </scalar> 
    16211656    </collection> 
     1657 
     1658    <collection name="cgroup" use="optional" since="0.30.216" id="guest-cgroup"> 
     1659      <description> 
     1660This directory contains cgroup settings to be applied to this guest. 
     1661See your kernel documentation for what settings are valid with your 
     1662configuration. 
     1663      </description> 
     1664      <scalar name="name"> 
     1665        <description> 
     1666If this file exists, the guest will be put in a cgroup named after the 
     1667contents of this file. The default is to name the cgroup the same thing as the 
     1668guest, unless 
     1669<optionref ref="global-cgroup-name">.defaults/cgroup/name</optionref> says 
     1670otherwise. 
     1671        </description> 
     1672      </scalar> 
     1673    </collection> 
     1674    <scalar name="nocgroup" since="0.30.216"> 
     1675      <description> 
     1676If this file exists, 
     1677<optionref ref="global-cgroup">.defaults/cgroup</optionref> will be ignored 
     1678for this guest. 
     1679      </description> 
     1680    </scalar> 
    16221681  </collection> 
    16231682  </database>