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