gentoo: use /var/run for new /run compatibility
[util-vserver.git] / doc / configuration.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE database SYSTEM "configuration.dtd" []>
3 <!-- $Id$ -->
4
5 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6           xsi:noNamespaceSchemaLocation="file:configuration.xsd">
7
8   <!-- Global configuration -->
9   <collection name=".defaults" use="optional">
10     <collection name="init" type="fixed">
11       <data name="mtab">
12         <description>Default mtab file</description>
13       </data>
14     </collection>
15
16     <link name="vdirbase">
17       <default>/vservers</default>
18       <description>A link to the default vserver rootdirectory.</description>
19     </link>
20
21     <link name="cachebase">
22       <default>/var/cache/vservers</default>
23       <description>
24 A link to the directory which will hold cached information about
25 vservers.
26       </description>
27     </link>
28
29     <boolean id="global-nonamespace" name="nonamespace">
30       <description>
31 Disable namespace usage globally. It can be overridden for a single vserver
32 by setting the <optionref ref="global-namespace">namespace</optionref> flag
33 there.
34
35 In this mode the <directory>/vservers</directory> directory must have
36 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
37       </description>
38     </boolean>
39
40     <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
41       <description>
42 Disable namespace cleanup globally. It can be overridden for a single vserver
43 by setting the <optionref ref="namespace-cleanup">namespace-cleanup</optionref> flag
44 there.
45       </description>
46     </boolean>
47
48     <list id="global-namespace-cleanup-skip" name="namespace-cleanup-skip">
49       <description>
50 List of paths to skip during namespace cleanup.
51       </description>
52     </list>
53
54     <link name="run.rev">
55       <description>
56 Path of the vserver run reverse directory. This directory contains
57 symlinks named with XID numbers which point back to the configuration
58 directory of vservers. Under kernel 2.4 this is required for the XID
59 to VSERVER mapping; Under kernel 2.6 it is unused.
60
61 NOTE: this link exists in 0.30.202+ only; in previous versions it was
62 a vserver specific setting.
63       </description>
64     </link>
65
66     <scalar name="shell">
67       <description>
68 Contains the pathname of the shell which will be used by the "vserver
69 ... enter" command. Can be overridden by the
70 <optionref ref="shell">per-guest shell</optionref>.
71       </description>
72     </scalar>
73
74     <data name="fstab">
75       <description>
76 The default fstab file to put in newly built guests.
77       </description>
78     </data>
79
80     <boolean name="context.dynamic">
81       <description>
82 If this file exists, kernel-side dynamic contexts will be used by the "vserver
83 ... build" command. Otherwise a context will be generated, based on the
84 contents of <optionref>context.next</optionref>.
85       </description>
86     </boolean>
87
88     <scalar id="context.next" name="context.next">
89       <description>
90 The context id to use for the next guest created by "vserver ... build".
91       </description>
92     </scalar>
93     
94     <collection name="apps">
95       <collection name="pkgmgmt">
96         <link name="base">
97           <default>/vservers/.pkg</default>
98         </link>
99         <data name="apt.conf">
100           <description>The default apt.conf which is going to be used. It is overridden by
101 distribution specific configuration file.
102           </description>
103         </data>
104       </collection>
105       
106       <collection name="debootstrap">
107         <scalar name="mirror">
108           <description>
109 The Debian mirror to use with the <tool>debootstrap</tool> program
110           </description>
111         </scalar>
112         <scalar name="uri">
113           <description>
114 When the <tool>debootstrap</tool> package is not installed; fetch it
115 from this uri and install it at a temporary place.
116           </description>
117         </scalar>
118       </collection>
119
120       <collection name="vdevmap">
121         <collection name="x" type="sybmolic">
122           <description>'x' is an arbitrary name, replace it with e.g. device names</description>
123           <boolean name="open">
124             <description>When this file exists, the device can be opened</description>
125           </boolean>
126           <boolean name="create">
127             <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
128           </boolean>
129           <boolean id="vdevmap-remap" name="remap">
130             <description>
131 When this file exists, <optionref ref="vdevmap-target">target</optionref> will
132 have to exist as well and opening the device will in fact open the target device
133             </description>
134           </boolean>
135           <scalar name="flags">
136             <description>This file will let you specify unimplemented flags manually</description>
137           </scalar>
138           <scalar name="device">
139             <description>Contains the name of a device node</description>
140           </scalar>
141           <scalar id="vdevmap-target" name="target">
142             <description>Contains the device node of the target node to open instead of the device when <optionref ref="vdevmap-remap">remap</optionref> is set</description>
143           </scalar>
144         </collection>
145       </collection>
146
147       <collection name="vshelper">
148         <link name="logfile">
149           <description>
150 The file where output will be logged to when <tool>vshelper</tool>
151 is invoked from the kernel. This should point somewhere e.g. into
152 <directory>/var/log</directory>.
153           </description>
154         </link>
155
156         <collection name="vshelper-methods">
157           <program name="handler" type="symbolic">
158             <description>
159 See <optionref ref="vshelper-action">vshelper/action</optionref>.
160             </description>
161           </program>
162         </collection>
163
164         <boolean name="disabled">
165           <description>
166 When existing, the vshelper functionality will be disabled for all
167 vservers.
168           </description>
169         </boolean>
170
171         <boolean name="debug">
172           <description>
173 When existing, the vshelper execution will be traced.
174           </description>
175         </boolean>
176         
177         <boolean name="warning-disabled">
178           <description>
179 When existing, sanity checks for the vshelper functionality will be
180 skipped.
181           </description>
182         </boolean>
183
184       </collection>
185       
186       <collection name="vprocunhide">
187         <list name="files">
188           <description>
189 A list of files which will be made visible by vprocunhide. Wildcards are
190 allowed and anything ending in '/' will be processed recursively. When this file exists,
191 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
192 absolute filenames inclusive the leading '/proc'.
193           </description>
194         </list>
195       </collection>
196       
197       <collection name="init">
198         <link name="tty">
199           <description>
200 A symlink to the TTY device where input/output will be redirected from/to
201 at startup via initscript.
202           </description>
203         </link>
204
205         <hash id="global-environment" name="environment" since="0.30.211">
206           <description>
207 The environment to set when starting guests. Contains one VAR=VAL
208 pair per line.
209           </description>
210         </hash>
211       </collection>
212       
213       <collection name="vunify">
214         <list name="exclude">
215           <description>Static list of excluded files.</description>
216         </list>
217
218         <collection name="hash" since="0.30.205">
219           <description>
220 A directory which will be used as the storage place for the
221 <tool>vhashify</tool> command.
222           </description>
223           <link name="id" type="symbolic">
224             <description>
225 Points to a directory within the filesystems which are used for the
226 vservers. There must be not more than one of such a directory per
227 filesystem.
228             </description>
229           </link>
230
231           <scalar name="method" since="0.30.299">
232             <default>SHA1</default>
233             <description>The used hash method.</description>
234           </scalar>
235         </collection>
236
237         <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
238           <description>
239 When existing, information from packagemanagement will not be used to
240 create dynamic exclude-lists.
241           </description>
242         </boolean>
243
244         <boolean name="pgkmgmt-force" default="off" since="0.30.205">
245           <description>
246 When existing, information from packagemanagement will be used to
247 create dynamic exclude-lists. This option requires that (a known)
248 packagemanagement is configured for the vserver; else the requested
249 operation will fail. Most tools assume 'on' as the default value.
250           </description>
251         </boolean>
252
253       </collection>
254
255       <collection name="vlogin">
256         <boolean id="vlogin-disable" name="disable" since="0.30.212">
257           <description>
258 When this file exists, vlogin isn't used on vserver &lt;guest&gt; enter.
259           </description>
260         </boolean>
261       </collection>
262
263       <collection name="build">
264         <list name="options">
265           <description>
266 A list of default options to supply to vserver ... build, one option per line.
267           </description>
268         </list>
269       </collection>
270     </collection>
271
272     <collection name="interfaces" use="optional">
273       <boolean id="global-vlandev" name="vlandev" since="0.30.211">
274         <description>
275 When this file exists, the steps which setup and destroy a VLAN
276 interface will be executed.
277         </description>
278       </boolean>
279     </collection>
280
281     <collection name="files">
282       <description>This directory contains some files which will be copied to the guests during build.</description>
283       <data name="hosts">
284         <description>The default /etc/hosts file.</description>
285       </data>
286       <data name="nsswitch.conf">
287         <description>The default /etc/nsswitch.conf file.</description>
288       </data>
289       <data name="krb5.conf">
290         <description>The default /etc/krb5.conf file.</description>
291       </data>
292       <data name="krb.conf">
293         <description>The default /etc/krb.conf file.</description>
294       </data>
295       <data name="krb.realms">
296         <description>The default /etc/krb.realms file.</description>
297       </data>
298       <data name="ldap.conf">
299         <description>The default /etc/ldap.conf file.</description>
300       </data>
301       <data name="localtime">
302         <description>The default /etc/localtime file.</description>
303       </data>
304       <data name="resolv.conf">
305         <description>The default /etc/resolv.conf file.</description>
306       </data>
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       <list name="subsys">
321         <description>
322 List of subsystems to enable on the cgroup mount point. The default is "all".
323         </description>
324       </list>
325       <list name="inherit">
326         <description>
327 Some subsystems start out with clean slates, making it impossible to use the
328 cgroup before certain things have been set. This is true for e.g. the cpuset
329 subsystem. This file contains a list of filenames which should be explicitly
330 inherited from the parent (root) cgroup, if not overridden elsewhere.
331 The default is cpuset.cpus and cpuset.mems.
332         </description>
333       </list>
334       <scalar name="name" id="global-cgroup-name">
335         <description>
336 If this file exists, all guests will be put in one cgroup named after the
337 contents of this file. The default is to put each guest in a cgroup named the
338 same thing as the guest.
339         </description>
340       </scalar>
341       <scalar name="base">
342         <description>
343 If this file exists, all cgroups will be created underneath this directory
344 in the cgroup mount point.
345         </description>
346       </scalar>
347       <boolean name="per-ss">
348         <description>
349 If this file exists, each subsystem will have its own mount point.
350         </description>
351       </boolean>
352     </collection>
353   </collection>
354     
355   <collection name=".distributions" use="optional">
356     <collection name="dist" type="symbolic">
357       <scalar name="dev">
358         <description></description>
359       </scalar>
360       <collection name="yum">
361         <description>
362 The default, yum-related content of the <directory>/etc</directory>
363 directory.
364         </description>
365         <scalar name="yum.conf">
366           <description>
367 The master yum configuration file. It supports the @YUMETCDIR@,
368 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
369 <command>vserver ... build</command> time.
370           </description>
371         </scalar>
372       </collection>
373       <collection name="yum.repos.d">
374         <description>A directory with yum repositories.</description>
375       </collection>
376       <data name="apt.conf">
377         <description>
378 The default apt.conf which is going to be used. It overrides the
379 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
380         </description>
381       </data>
382       <program name="initpre">
383         <description>
384 Script which will be executed before packages will be installed.
385           </description>
386         <parameterList>
387           <parameter name="confdir">
388             <description>
389 The configuration directory of the vserver which is going to be set up.
390             </description>
391           </parameter>
392           <parameter name="util-vserver-vars">
393             <description>
394 The pathname of the util-vserver-vars file.
395             </description>
396           </parameter>
397         </parameterList>
398       </program>
399       <program name="initpost">
400         <description>
401 Script which will be executed after packages are installed.
402           </description>
403         <parameterList>
404           <parameter name="confdir">
405             <description>
406 The configuration directory of the vserver which is going to be set up.
407             </description>
408           </parameter>
409           <parameter name="vserver">
410             <description>
411 The pathname of the util-vserver-vars file.
412             </description>
413           </parameter>
414         </parameterList>
415       </program>
416       
417       <collection name="pkgs">
418         <description>
419 Contains files with packagenames.
420         </description>
421         <list name="list">
422           <description>
423 File which contains the name of packages. On top of file the special
424 keywords '--reinstall' and '--can-fail' are possible.
425           </description>
426         </list>
427       </collection>
428       
429       <collection name="pubkeys">
430         <description>
431 Directory with GPG pubkeys which are used to sign the packages of this
432 distribution.
433         </description>
434       </collection>
435       
436       <collection name="apt">
437         <description>
438 Default content of the <directory>/etc/apt/</directory> directory.
439         </description>
440       </collection>
441       
442       <collection name="rpm">
443         <description>
444 Default content of the <directory>/etc/rpm</directory> directory.
445         </description>
446       </collection>
447       
448       <link name="rpmlib">
449         <description>
450 Directory which overrides <directory>/usr/lib/rpm</directory>.
451         </description>
452       </link>
453       <link name="execdir">
454         <description>
455 Directory with all executables and libraries which are required for
456 this distribution.
457         </description>
458       </link>
459     </collection>
460     <link name="template">
461       <description>
462 Symlink to the default template for this distribution.
463       </description>
464     </link>
465   </collection>
466   
467   <!-- Vserver configuration -->
468   <collection name="vserver-name" type="symbolic">
469     <description>
470 The configuration directory for the vserver vserver-name.
471     </description>
472
473     <link name="cache">
474       <default>../.defaults/cachebase/VSERVERNAME</default>
475       <description>
476 Path of the storage area for cached information about this vserver.
477       </description>
478     </link>
479     
480     <link name="vdir">
481       <default>../.defaults/vdirbase/VSERVERNAME</default>
482       <description>
483 Path of the vserver root directory.
484       </description>
485     </link>
486
487     <link name="run">
488       <description>
489 Points to a file which will contain the XID of the running vserver. When
490 the vserver is stopped, this can be a dangling symlink.
491       </description>
492     </link>
493
494     <list id="bcapabilities" name="bcapabilities">
495       <description>
496 Contains the system capabilities. See
497 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
498 for possible values.
499       </description>
500     </list>
501     <list name="ccapabilities">
502       <description>
503 Contains the context capabilities. See <ulink
504 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
505 for possible values.
506       </description>
507     </list>
508     <list name="ncapabilities" since="0.30.212">
509       <description>
510 Contains the network capabilities. See <ulink
511 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
512 for possible values.
513       </description>
514     </list>
515     <list name="umask" since="0.30.216">
516       <description>
517 Contains the namespaces allowed to be unshared. See <ulink
518 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/umask-v23.c">lib/umask-v23.c</ulink>
519 for possible values.
520       </description>
521     </list>
522
523     <boolean id="global-namespace" name="namespace">
524       <description>
525 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
526 namespace usage for the current vserver.
527       </description>
528     </boolean>
529
530     <boolean name="nonamespace">
531       <description>
532 Disables namespace usage for the current vserver.
533
534 In this mode the <directory>/vservers</directory> directory must have
535 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
536       </description>
537     </boolean>
538
539     <boolean id="namespace-cleanup" name="namespace-cleanup">
540       <description>
541 Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
542 namespace cleanup for the current vserver.
543       </description>
544     </boolean>
545
546     <list name="namespace-cleanup-skip">
547       <description>
548 List of paths to skip during namespace cleanup. This overrides the global
549 <optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
550 file.
551       </description>
552     </list>
553
554     <hash name="schedule">
555       <description>
556 [deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
557 scheduler parameters, one per line.
558
559 The Hard CPU limit uses a mechanism called a Token Bucket.  the
560 concept is simple: you have a bucket of a certain size which is
561 filled with a specified amount R of tokens each interval T until the
562 maximum is reached (excess tokens are spilled). At each timer tick,
563 a running process consumes one token from the bucket, unless the
564 bucket is empty. If the bucket is empty the process is put in the
565 hold queue. When the bucket has been refilled to at least M tokens,
566 all on hold processes are rescheduled.
567
568 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
569 VServer Wiki</ulink> for more information about this file.
570       </description>
571       <keys>
572         <key id="fill_rate" name="fill-rate">
573           <description>
574 Amount of tokens append to the bucket each interval.
575             </description>
576         </key>
577         <key name="interval">
578           <description>
579 The intervall between refills of amount <optionref>fill_rate</optionref>. This
580 value is express in ticks.
581           </description>
582         </key>
583         <key name="tokens">
584           <description>
585 Initial bucket contents.
586           </description>
587         </key>
588         <key name="tokens-min">
589           <description>
590 The minimum amount of tokens required to unhold processes
591           </description>
592         </key>
593         <key name="tokens-max">
594           <description>
595 The bucket size.
596           </description>
597         </key>
598         <key name="priority-bias">
599           <description>
600 ???
601           </description>
602         </key>
603       </keys>
604     </hash>
605     <scalar name="name">
606       <description>
607 Contains the name of the vserver. When not given, the basename of the directory
608 will be assumed as this name.
609       </description>
610     </scalar>
611     <scalar name="nice">
612       <description>
613 The nice-level on which the vserver will be started.
614       </description>
615     </scalar>
616     <list name="capabilities">
617       <description>
618 Contains per line a capability. This file is used for the 2.4 kernel
619 only; for 2.6 use <optionref>bcapabilities</optionref>.
620       </description>
621     </list>
622     <scalar id="shell" name="shell">
623       <description>
624 Contains the pathname of the shell which will be used by the "vserver
625 ... enter" command.
626       </description>
627     </scalar>
628     <list name="personality">
629       <description>
630 Used to set the personality of the vserver. First line in the file
631 is the personality-type followed by flags (one item per line). See
632 <filename>/usr/include/linux/personality.h</filename> for possible
633 values.
634       </description>
635     </list>
636     <list name="cflags" id="cflags" since="0.30.216">
637       <description>
638 Contains per line a flag. See <ulink
639 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
640 for possible values.
641       </description>
642     </list>
643     <list name="flags">
644       <description>
645 Old name for <optionref>cflags</optionref>. Deprecated.
646       </description>
647     </list>
648     <list name="nflags" since="0.30.212">
649       <description>
650 Contains a network flag per line. See <ulink
651 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
652 for possible values.
653       </description>
654     </list>
655     <scalar name="context">
656       <description>
657 Contains the context id which shall be used for the vserver. Valid range is 2 through 49151.
658         </description>
659     </scalar>
660     <scalar name="ncontext">
661       <description>
662 Contains the network context id which shall be used for the vserver. Valid range is 2 through 49151.
663       </description>
664     </scalar>
665     <scalar name="tag">
666       <description>
667 Contains the filesystem tag which shall be used for the vserver. Valid range is 2 through 49151.
668       </description>
669     </scalar>
670     <data id="fstab" name="fstab">
671       <description>
672 The fstab file for the vserver. Entries in this file will be mounted
673 within the network context of the host. Use the
674 <optionref>fstab.remote</optionref> file when you want that the
675 mounting happens in the network context of the vserver. In most cases
676 the 'fstab' file should be used.
677       </description>
678     </data>
679     <data id="fstab.remote" name="fstab.remote">
680       <description>
681 The fstab file for the vserver. Entries in this file will be mounted
682 within the network context of the guest; this means that mount will be
683 called as <command>chbind &lt;options&gt; mount ...</command>. See
684 <optionref>fstab</optionref> also.
685       </description>
686     </data>
687     <scalar name="badness">
688       <description>
689 Contains the bias to be applied to processes in this guest when the OOM-killer strikes.
690       </description>
691     </scalar>
692     
693     <collection name="apps">
694       <collection name="init">
695         <data name="mtab">
696           <description>
697 The initial-mtab which will be used for the vserver.
698           </description>
699         </data>
700         
701         <scalar name="style">
702           <description>
703 Contains the init-style.
704           </description>
705           <restriction>
706             <enumeration value="sysv"/>
707             <enumeration value="plain"/>
708             <enumeration value="minit"/>
709           </restriction>
710         </scalar>
711         
712         <scalar name="runlevel">
713           <description>The start runlevel.</description>
714         </scalar>
715         
716         <scalar name="runlevel.start">
717           <description>The start runlevel.</description>
718         </scalar>
719         
720         <scalar name="runlevel.stop">
721           <description>The stop runlevel.</description>
722         </scalar>
723         
724         <scalar name="killseq">
725           <description>
726 Contains the 'signal [wait signal]*' sequence which is used to stop
727 the vserver.
728           </description>
729         </scalar>
730         
731         <list name="cmd.start">
732           <description>
733 The command which is used to start the vserver. Each option must be on
734 a separate line.
735           </description>
736         </list>
737         
738         <list name="cmd.start-sync">
739           <description>
740 The command which is used to wait on the vserver after it has been
741 started. Each option must be on a separate line. This file will be
742 ignored when the <optionref>sync</optionref> flag does not exist and the
743 '--sync' option was not used.
744           </description>
745         </list>
746         
747         <list name="cmd.stop">
748           <description>
749 The command which is used to stop the vserver. Each option must be on
750 a separate line.
751           </description>
752         </list>
753         
754         <list name="cmd.stop-sync">
755           <description>
756 The command which is used to wait on the vserver after it has been
757 stopped. Each option must be on a separate line. This file will be
758 ignored when the <optionref>sync</optionref> flag does not exist and the
759 '--sync' option was not used.
760           </description>
761         </list>
762         
763         <list name="cmd.prepare">
764           <description>
765 The command which is used to setup the init-system (e.g. to set the
766 runlevel in the utmp-file). Each option must be on a separate line.
767           </description>
768         </list>
769         
770         <boolean id="sync" name="sync">
771           <description>
772 If this file is not present, all 'cmd.*-sync files will be ignored.
773             </description>
774         </boolean>
775         
776         <link name="tty">
777           <description>
778 A symlink to the TTY device where input/output will be redirected
779 from/to at startup via initscript.
780           </description>
781         </link>
782         
783         <scalar name="mark">
784           <description>
785 This file is used to mark group of vservers which shall be started/stopped
786 together by the initscript. Content is a simple string like 'default'.
787           </description>
788         </scalar>
789         
790         <list name="depends">
791           <description>
792 This file is used to configure vservers which must be running before
793 the current vserver can be started. At shutdown, the current vserver
794 will be stopped before its dependencies. Content of this file are
795 vserver ids (one name per line).
796           </description>
797         </list>
798
799         <hash name="environment" since="0.30.211">
800           <description>
801 The environment to set when starting the guest. Contains one VAR=VAL
802 pair per line.
803           </description>
804         </hash>
805       </collection>
806
807       <collection name="vdevmap">
808         <collection name="x" type="sybmolic">
809           <description>'x' is an arbitrary name, replace it with e.g. device names</description>
810           <boolean name="open">
811             <description>When this file exists, the device can be opened</description>
812           </boolean>
813           <boolean name="create">
814             <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
815           </boolean>
816           <boolean id="guest-vdevmap-remap" name="remap">
817             <description>
818 When this file exists, <optionref ref="guest-vdevmap-target">target</optionref> will
819 have to exist as well and opening the device will in fact open the target device
820             </description>
821           </boolean>
822           <scalar name="flags">
823             <description>This file will let you specify unimplemented flags manually</description>
824           </scalar>
825           <scalar name="device">
826             <description>Contains the name of a device node</description>
827           </scalar>
828           <scalar id="guest-vdevmap-target" name="target">
829             <description>Contains the device node of the target node to open instead of the device when <optionref ref="guest-vdevmap-remap">remap</optionref> is set</description>
830           </scalar>
831         </collection>
832       </collection>
833   
834       <collection name="vshelper">
835         <scalar name="sync-timeout">
836           <default>30</default>
837           <description>
838 The timeout in seconds which is used when synchronising vserver
839 startup/shutdown with the vshelper. When not set, 30 seconds will be
840 assumed.
841           </description>
842         </scalar>
843         
844         <scalar id="vshelper-action" name="action">
845           <default>restart</default>
846           <description>
847 The action which is going to be executed when a vshelper event
848 occurs. The default value is 'restart', but there can be defined own
849 methods by placing scripts into the
850 <optionref>vshelper-methods</optionref> directories. These scripts are
851 fed with the same arguments as the <tool>vshelper</tool> script.
852           </description>
853         </scalar>
854         
855         <program name="event" type="symbolic">
856           <description>
857 When existing, these scripts will be executed *instead* of the default
858 handler defined in 'action'. Their name must match the event which caused
859 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
860 the vs_reboot() function in the kernel for more details.
861           </description>
862           <parameterList>
863             <parameter name="xid">
864               <description>
865 The xid of the context calling the vshelper
866               </description>
867             </parameter>
868             <parameter name="event">
869               <description>
870 The reboot-event.
871               </description>
872             </parameter>
873           </parameterList>
874         </program>
875         
876         <boolean name="disabled">
877           <description>
878 When existing, the vshelper functionality will be disabled for this
879 vserver.
880           </description>
881         </boolean>
882
883         <boolean name="debug">
884           <description>
885 When existing, the vshelper execution will be traced for this vserver.
886           </description>
887         </boolean>
888         
889         <boolean name="warning-disabled">
890           <description>
891 When existing, sanity checks for the vshelper functionality will be
892 skipped.
893           </description>
894         </boolean>
895         
896       </collection>
897       
898       <collection id="vshelper-methods" name="vshelper-methods">
899         <program name="handler" type="symbolic">
900           <description>
901 See <optionref ref="vshelper-action">vshelper/action</optionref>.
902           </description>
903         </program>
904       </collection>
905       
906       <collection name="vunify">
907         <description>
908 This directory contains configuration data required for vserver
909 unification.
910         </description>
911         
912         <list name="exclude">
913           <description>
914 <p>Static list of files which are excluded for unification. This list
915 supports an rsync-like syntax: when a file is prefixed by '+', it is a
916 candidate for unification; when there is no prefix or a '-' or a '~' it
917 will be excluded. Shell-wildcards are allowed for the filenames.</p>
918 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
919 of the file entirely (e.g. for keyfiles). With this tool, the file will
920 be copied instead of hardlinked when the '-' prefix is used.</p>
921           </description>
922         </list>
923         
924         <link name="refserver.X" type="symbolic">
925           <description>
926 These are symlinks to the configuration directory
927 (e.g. CONFDIR/vservers/&lt;id&gt;) of a refserver. There may be
928 multiple such symlinks but they must be prefixed by 'refserver.' and
929 will be processed in alphanumerical order.
930           </description>
931         </link>
932
933         <collection name="hash" since="0.30.205">
934           <description>
935 A directory which will be used as the storage place for the
936 <tool>vhashify</tool> command.
937           </description>
938           <link name="id" type="symbolic">
939             <description>
940 Points to a directory within the filesystems which are used for the
941 vservers. There must be not more than one of such a directory per
942 filesystem.
943             </description>
944           </link>
945
946           <scalar name="method"  since="0.30.299">
947             <default>SHA1</default>
948             <description>The used hash method.</description>
949           </scalar>
950         </collection>
951
952         <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
953           <description>
954 When existing, information from packagemanagement will not be used to
955 create dynamic exclude-lists.
956           </description>
957         </boolean>
958
959         <boolean name="pgkmgmt-force" default="off" since="0.30.205">
960           <description>
961 When existing, information from packagemanagement will be used to
962 create dynamic exclude-lists. This option requires that (a known)
963 packagemanagement is configured for the vserver; else the requested
964 operation will fail. Most tools assume 'on' as the default value.
965           </description>
966         </boolean>
967         
968       </collection>
969     </collection>
970     
971     <collection name="scripts">
972       <description>
973 A directory for scripts. By default, when one of these scripts will be
974 executed, the execution of defaultscripts (within .../.defaults/scripts)
975 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
976 environment variable must be set by one of the in-shellcontext scripts
977 (the non-executable ones).
978       </description>
979       
980       <program name="initialize" since="0.30.211">
981         <description>
982 The scriptlet which will be executed before the root filesystem is mounted and
983 the configuration has been loaded. Before executing the script, the
984 configuration directory will be made the working directory.
985         </description>
986         <parameterList>
987           <parameter name="action">
988             <description>
989 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
990             </description>
991           </parameter>
992           <parameter name="vserver-name">
993             <description>
994 The name of the current vserver.
995             </description>
996           </parameter>
997         </parameterList>
998       </program>
999       <collection name="initialize.d" since="0.30.211">
1000         <description>
1001 Repository of initialize like scripts.  Before executing the script,
1002 the configuration directory will be made the working directory.
1003         </description>
1004         <program name="script" type="symbolic">
1005           <description>See initialize.</description>
1006           <parameterList>
1007             <parameter name="action">
1008               <description>
1009 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1010               </description>
1011             </parameter>
1012             <parameter name="vserver-name">
1013               <description>
1014 The name of the current vserver.
1015               </description>
1016             </parameter>
1017           </parameterList>
1018         </program>
1019       </collection>
1020       
1021       <program name="prepre-start">
1022         <description>
1023 The scriptlet which will be executed before the network-interfaces are
1024 enabled and the directories are mounted. Before executing the script,
1025 the configuration directory will be made the working directory.
1026         </description>
1027         <parameterList>
1028           <parameter name="action">
1029             <description>
1030 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1031             </description>
1032           </parameter>
1033           <parameter name="vserver-name">
1034             <description>
1035 The name of the current vserver.
1036             </description>
1037           </parameter>
1038         </parameterList>
1039       </program>
1040       <collection name="prepre-start.d">
1041         <description>
1042 Repository of prepre-start like scripts.  Before executing the script,
1043 the configuration directory will be made the working directory.
1044         </description>
1045         <program name="script" type="symbolic">
1046           <description>See prepre-start.</description>
1047           <parameterList>
1048             <parameter name="action">
1049               <description>
1050 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1051               </description>
1052             </parameter>
1053             <parameter name="vserver-name">
1054               <description>
1055 The name of the current vserver.
1056               </description>
1057             </parameter>
1058           </parameterList>
1059         </program>
1060       </collection>
1061       
1062       <program name="pre-start">
1063         <description>
1064 The scriptlet which will be executed after network-interfaces were
1065 enabled and the directories mounted, but before the vserver itself has
1066 been started.  Before executing the script, the vserver root directory
1067 will be made the working directory.
1068         </description>
1069         <parameterList>
1070           <parameter name="action">
1071             <description>
1072 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1073             </description>
1074           </parameter>
1075           <parameter name="vserver-name">
1076             <description>
1077 The name of the current vserver.
1078             </description>
1079           </parameter>
1080         </parameterList>
1081       </program>
1082       <collection name="pre-start.d">
1083         <description>
1084 Repository of pre-start like scripts. Before executing these scripts,
1085 the vserver root directory will be made the working directory.
1086         </description>
1087         <program name="script" type="symbolic">
1088           <description>See pre-start.</description>
1089           <parameterList>
1090             <parameter name="action">
1091               <description>
1092 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1093               </description>
1094             </parameter>
1095             <parameter name="vserver-name">
1096               <description>
1097 The name of the current vserver.
1098               </description>
1099             </parameter>
1100           </parameterList>
1101         </program>
1102       </collection>
1103       
1104
1105       <program name="post-start">
1106         <description>
1107 The scriptlet which will be executed after the vserver has been
1108 started. Before executing the script, the vserver root directory
1109 will be made the working directory.
1110         </description>
1111         <parameterList>
1112           <parameter name="action">
1113             <description>
1114 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1115             </description>
1116           </parameter>
1117           <parameter name="vserver-name">
1118             <description>
1119 The name of the current vserver.
1120             </description>
1121           </parameter>
1122         </parameterList>
1123       </program>
1124       <collection name="post-start.d">
1125         <description>
1126 Repository of post-start like scripts. Before executing these scripts,
1127 the vserver root directory will be made the working directory.
1128         </description>
1129         <program name="script" type="symbolic">
1130           <description>See post-start.</description>
1131           <parameterList>
1132             <parameter name="action">
1133               <description>
1134 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1135               </description>
1136             </parameter>
1137             <parameter name="vserver-name">
1138               <description>
1139 The name of the current vserver.
1140               </description>
1141             </parameter>
1142           </parameterList>
1143         </program>
1144       </collection>
1145
1146
1147       <program name="pre-stop">
1148         <description>
1149 The scriptlet which will be executed before the vserver will be
1150 stopped. Before executing the script, the vserver root directory
1151 will be made the working directory.
1152         </description>
1153         <parameterList>
1154           <parameter name="action">
1155             <description>
1156 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1157             </description>
1158           </parameter>
1159           <parameter name="vserver-name">
1160             <description>
1161 The name of the current vserver.
1162             </description>
1163           </parameter>
1164         </parameterList>
1165       </program>
1166       <collection name="pre-stop.d">
1167         <description>
1168 Repository of pre-stop like scripts. Before executing the script, the
1169 vserver root directory will be made the working directory.
1170         </description>
1171         <program name="script" type="symbolic">
1172           <description>See pre-stop.</description>
1173           <parameterList>
1174             <parameter name="action">
1175               <description>
1176 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1177               </description>
1178             </parameter>
1179             <parameter name="vserver-name">
1180               <description>
1181 The name of the current vserver.
1182               </description>
1183             </parameter>
1184           </parameterList>
1185         </program>
1186       </collection>
1187
1188       <program name="post-stop">
1189         <description>
1190 The scriptlet which will be executed after the vserver has been
1191 stopped, but before the directories will be umounted and the the
1192 interfaces disabled. Before executing the script, the vserver root
1193 directory will be made the working directory.
1194         </description>
1195         <parameterList>
1196           <parameter name="action">
1197             <description>
1198 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1199             </description>
1200           </parameter>
1201           <parameter name="vserver-name">
1202             <description>
1203 The name of the current vserver.
1204             </description>
1205           </parameter>
1206         </parameterList>
1207       </program>
1208       <collection name="post-stop.d">
1209         <description>
1210 Repository of post-stop like scripts. Before executing the script, the
1211 vserver root directory will be made the working directory.
1212         </description>
1213         <program name="script" type="symbolic">
1214           <description>See post-stop.</description>
1215           <parameterList>
1216             <parameter name="action">
1217               <description>
1218 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1219               </description>
1220             </parameter>
1221             <parameter name="vserver-name">
1222               <description>
1223 The name of the current vserver.
1224               </description>
1225             </parameter>
1226           </parameterList>
1227         </program>
1228       </collection>
1229       
1230       <program name="postpost-stop">
1231         <description>
1232 The scriptlet which will be executed after the vserver has been stopped
1233 completely. Before executing the script, the vserver root directory
1234 will be made the working directory.
1235         </description>
1236         <parameterList>
1237           <parameter name="action">
1238             <description>
1239 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1240             </description>
1241           </parameter>
1242           <parameter name="vserver-name">
1243             <description>
1244 The name of the current vserver.
1245             </description>
1246           </parameter>
1247         </parameterList>
1248       </program>
1249       <collection name="postpost-stop.d">
1250         <description>
1251 Repository of postpost-stop like scripts. Before executing the script,
1252 the vserver root directory will be made the working directory.
1253         </description>
1254         <program name="script" type="symbolic">
1255           <description>See postpost-stop.</description>
1256           <parameterList>
1257             <parameter name="action">
1258               <description>
1259 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1260               </description>
1261             </parameter>
1262             <parameter name="vserver-name">
1263               <description>
1264 The name of the current vserver.
1265               </description>
1266             </parameter>
1267           </parameterList>
1268         </program>
1269       </collection>
1270     </collection>
1271     
1272     <collection name="interfaces">
1273       <scalar name="bcast">
1274         <description>The guest's broadcast address.</description>
1275       </scalar>
1276       <scalar name="lback">
1277         <description>The guest's loopback address.</description>
1278       </scalar>
1279       <scalar name="dev">
1280         <description>The default network device. See <optionref ref="per-if-dev">iface/dev</optionref> for more information.</description>
1281       </scalar>
1282       <scalar name="prefix">
1283         <description>The default network prefix-length.</description>
1284       </scalar>
1285       <scalar name="mask">
1286         <description>The default network mask.</description>
1287       </scalar>
1288       <scalar name="scope">
1289         <description>The default scope of the network interfaces.</description>
1290       </scalar>
1291       <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1292         <description>
1293 When this file exists, the steps which setup and destroy a VLAN
1294 interface will be executed for all interfaces of this vserver.
1295         </description>
1296       </boolean>
1297       <boolean id="local-novlandev" name="novlandev">
1298         <description>
1299 When this file exists, the steps which setup and destroy a VLAN
1300 interface will be skipped. This overrides the global
1301 <optionref ref="global-vlandev">vlandev</optionref> setting for
1302 this vserver.
1303         </description>
1304       </boolean>
1305       
1306       <collection name="iface" type="symbolic">
1307         <description>
1308 'iface' is an arbitrary name for the interface; the value itself is
1309 not important but may be interesting regarding interface-creation and
1310 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1311 numbers like '00' are good names for these directories.
1312         </description>
1313         
1314         <boolean name="disabled">
1315           <description>When this file exists, this interface will be ignored.</description>
1316         </boolean>
1317         
1318         <scalar name="ip">
1319           <description>The IP address which will be assigned to this interface.</description>
1320         </scalar>
1321         <scalar name="dev" id="per-if-dev">
1322           <description>The network device. When this is specified, the IP address will be assigned and removed when starting and stopping the guest.</description>
1323         </scalar>
1324         <scalar name="prefix">
1325           <description>The network prefix-length.</description>
1326         </scalar>
1327         <scalar name="mask">
1328           <description>The network mask.</description>
1329         </scalar>
1330         <scalar name="scope">
1331           <description>The scope of the network interface.</description>
1332         </scalar>
1333         <scalar name="name">
1334           <description>
1335 When this file exists, the interface will be named with the text in
1336 this file. Without such an entry, the IP will not be shown by
1337 <tool>ifconfig</tool> but by <command>ip addr ls</command> only.  Such
1338 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1339           </description>
1340         </scalar>
1341         <boolean name="nodev">
1342           <description>
1343 When this file exists, the interface will be assumed to exist
1344 already. This can be used to assign primary interfaces which are
1345 created by the host or another vserver.
1346           </description>
1347         </boolean>
1348         <boolean name="novlandev">
1349           <description>
1350 When this file exists, the steps which setup and destroy a VLAN
1351 interface will be skipped. This will override the global
1352 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1353 <optionref ref="local-vlandev">vlandev</optionref>.
1354           </description>
1355         </boolean>
1356         <boolean name="vlandev" since="0.30.211">
1357           <description>
1358 When this file exists, the steps which setup and destroy a VLAN
1359 interface will be executed.
1360           </description>
1361         </boolean>
1362         <boolean name="tun" since="0.30.215">
1363           <description>
1364 When this file exists, a tun interface will be created when the guest
1365 starts, and removed when the guest stops.
1366           </description>
1367         </boolean>
1368         <boolean name="tap" since="0.30.215">
1369           <description>
1370 When this file exists, a tap interface will be created when the guest
1371 starts, and removed when the guest stops.
1372           </description>
1373         </boolean>
1374         <boolean name="nocsum" since="0.30.215">
1375           <description>
1376 If a tun or tap interface is created, the presence of this file will
1377 disable checksumming on it.
1378           </description>
1379         </boolean>
1380         <boolean name="shared" since="0.30.215">
1381           <description>
1382 When this file exists, the tun/tap interface created will not be
1383 owned by this particular guest.
1384           </description>
1385         </boolean>
1386         <scalar name="uid" since="0.30.215">
1387           <description>
1388 Sets the ownership of tun/tap interfaces. Requires a user id, not a
1389 username.
1390           </description>
1391         </scalar>
1392         <scalar name="gid" since="0.30.215">
1393           <description>
1394 Sets the group ownership of tun/tap interfaces. Requires a group id,
1395 not a group name.
1396           </description>
1397         </scalar>
1398         <scalar name="linktype" since="0.30.215">
1399           <description>
1400 Sets the link type of tun/tap interfaces.
1401           </description>
1402         </scalar>
1403         <scalar name="peer" since="0.30.216">
1404           <description>
1405 Sets the peer for a point-to-point link, such as a tun interface.
1406           </description>
1407         </scalar>
1408       </collection>
1409     </collection>
1410     
1411     <collection name="ulimits">
1412       <description>
1413 A directory with ulimits. Possible resources are cpu, data, fsize,
1414 locks, memlock, nofile, nproc, rss and/or stack.
1415       </description>
1416       <scalar name="resource" type="symbolic">
1417         <description>
1418 A file which contains the hard- and soft-limit of the given resource
1419 in the first line. The special keyword 'inf' is recognized.
1420         </description>
1421       </scalar>
1422       <scalar name="resource.hard" type="symbolic">
1423         <description>
1424 A file which contains the hard-limit of the given resource in the first
1425 line. The special keyword 'inf' is recognized.
1426         </description>
1427       </scalar>
1428       <scalar name="resource.soft" type="symbolic">
1429         <description>
1430 A file which contains the soft-limit of the given resource in the first
1431 line. The special keyword 'inf' is recognized.
1432         </description>
1433       </scalar>
1434     </collection>
1435     
1436     <collection name="rlimits">
1437       <description>
1438 A directory with resource limits. Possible resources are cpu, fsize,
1439 data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
1440 nsock, openfd, anon, shmem, semary, nsems and dentry. This
1441 configuration will be honored for kernel 2.6 only.
1442       </description>
1443       <scalar name="resource" type="symbolic">
1444         <description>
1445 A file which contains the hard- and soft-limit of the given resource
1446 in the first line. The special keyword 'inf' is recognized.
1447         </description>
1448       </scalar>
1449       <scalar name="resource.hard" type="symbolic">
1450         <description>
1451 A file which contains the hard-limit of the given resource in the first
1452 line. The special keyword 'inf' is recognized.
1453         </description>
1454       </scalar>
1455       <scalar name="resource.soft" type="symbolic">
1456         <description>
1457 A file which contains the soft-limit of the given resource in the first
1458 line. The special keyword 'inf' is recognized.
1459         </description>
1460       </scalar>
1461       <scalar name="resource.min" type="symbolic">
1462         <description>
1463 A file which contains the guaranteed minimum of the given resource in
1464 the first line. The special keyword 'inf' is recognized.
1465         </description>
1466       </scalar>
1467     </collection>
1468     
1469     <collection name="uts">
1470       <scalar name="context">
1471         <description>
1472 The context-name of the vserver. This file is listed for completeness
1473 only; the 'context' name is used and set internally by the util-vserver
1474 tools and can *not* be modified.
1475         </description>
1476       </scalar>
1477       <scalar name="sysname">
1478         <description>The sysname of the vserver</description>
1479       </scalar>
1480       <scalar name="nodename">
1481         <description>The node-/hostname of the vserver</description>
1482       </scalar>
1483       <scalar name="release">
1484         <description>The OS-release of the vserver</description>
1485       </scalar>
1486       <scalar name="version">
1487         <description>The OS-version of the vserver</description>
1488       </scalar>
1489       <scalar name="machine">
1490         <description>The machine-type of the vserver</description>
1491       </scalar>
1492       <scalar name="domainname">
1493         <description>The NIS domainname of the vserver</description>
1494       </scalar>
1495     </collection>
1496
1497     <collection name="dlimits" since="0.30.210">
1498       <description>
1499 Note that all entries are required for the disk limit to be applied.
1500       </description>
1501       <collection name="x" type="symbolic">
1502         <description>'x' is an arbitrary name, replace it with e.g. integers</description>
1503         <scalar name="directory">
1504           <description>The directory to which the limit should be applied</description>
1505         </scalar>
1506         <scalar name="inodes_total">
1507           <description>The amount of inodes this vserver should be limited to</description>
1508         </scalar>
1509         <scalar name="space_total">
1510           <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1511         </scalar>
1512         <scalar name="reserved">
1513           <description>How much space (percentage-wise) should be reserved for the root user</description>
1514         </scalar>
1515       </collection>
1516     </collection>
1517
1518     <collection name="sysctl" since="0.30.213">
1519       <collection name="x" type="symbolic">
1520         <description>'x' is an arbitrary name, replace it with e.g. integers</description>
1521         <scalar name="setting">
1522           <description>The sysctl setting</description>
1523         </scalar>
1524         <scalar name="value">
1525           <description>The value</description>
1526         </scalar>
1527       </collection>
1528     </collection>
1529
1530     <collection name="cpuset" since="0.30.211">
1531       <description>
1532 Puts the guest in a cpuset. Required entries are name, cpus and mems.
1533       </description>
1534       <scalar name="name">
1535         <description>The name of the cpuset for this vserver</description>
1536       </scalar>
1537       <scalar name="cpus">
1538         <description>The list of CPUs in this cpuset</description>
1539       </scalar>
1540       <scalar name="mems">
1541         <description>The list of Memory Nodes in this cpuset</description>
1542       </scalar>
1543       <scalar name="cpu_exclusive">
1544         <description>Is the CPU assignment exclusive?</description>
1545       </scalar>
1546       <scalar name="mems_exclusive">
1547         <description>Is the memory node assignment exclusive?</description>
1548       </scalar>
1549       <scalar name="nocreate">
1550         <description>When this file exists, the cpuset will be assumed to exist already</description>
1551       </scalar>
1552     </collection>
1553
1554     <collection id="sched" name="sched" since="0.30.212">
1555       <scalar id="global-tokens" name="tokens">
1556         <description>The initial amount of tokens to put in the bucket</description>
1557       </scalar>
1558       <scalar id="global-tokens-min" name="tokens-min">
1559         <description>The minimum amount of tokens required to unhold the context</description>
1560       </scalar>
1561       <scalar id="global-tokens-max" name="tokens-max">
1562         <description>The bucket's size</description>
1563       </scalar>
1564       <scalar id="global-fill-rate" name="fill-rate">
1565         <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
1566       </scalar>
1567       <scalar id="global-interval" name="interval">
1568         <description>The interval between refills of the bucket</description>
1569       </scalar>
1570       <scalar id="global-priority-bias" name="priority-bias">
1571         <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1572       </scalar>
1573       <scalar id="global-fill-rate2" name="fill-rate2">
1574         <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
1575       </scalar>
1576       <scalar id="global-interval2" name="interval2">
1577         <description>The interval between refills of the bucket when advancing idle time</description>
1578       </scalar>
1579       <boolean id="global-idle-time" name="idle-time">
1580         <description>When this file exists, advancing idle time is activated</description>
1581       </boolean>
1582       <collection name="cpu-id" type="symbolic">
1583         <description>This directory contains per-CPU and/or per-bucket specific settings. Remember to set the <optionref ref="cpu-id">cpu-id</optionref> file. All CPUs inherit the global settings.</description>
1584         <scalar name="tokens">
1585           <description>The initial amount of tokens to put in the bucket</description>
1586         </scalar>
1587         <scalar name="tokens-min">
1588           <description>The minimum amount of tokens required to unhold the context</description>
1589         </scalar>
1590         <scalar name="tokens-max">
1591           <description>The bucket's size</description>
1592         </scalar>
1593         <scalar name="fill-rate">
1594           <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
1595         </scalar>
1596         <scalar id="local-interval" name="interval">
1597           <description>The interval between refills of the bucket</description>
1598         </scalar>
1599         <scalar name="priority-bias">
1600           <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1601         </scalar>
1602         <scalar name="fill-rate2">
1603           <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
1604         </scalar>
1605         <scalar id="local-interval2" name="interval2">
1606           <description>The interval between refills of the bucket when advancing idle time</description>
1607         </scalar>
1608         <boolean name="idle-time">
1609           <description>When this file exists, advancing idle time is activated</description>
1610         </boolean>
1611         <scalar id="cpu-id" name="cpu-id">
1612           <description>The CPU to apply these settings to</description>
1613         </scalar>
1614         <scalar name="bucket-id">
1615           <description>The bucket to apply these settings to</description>
1616         </scalar>
1617       </collection>
1618     </collection>
1619
1620     <collection name="spaces" since="0.30.215">
1621       <boolean name="pid">
1622         <description>Enables pid virtualization for this guest</description>
1623       </boolean>
1624       <boolean name="net">
1625         <description>Enable network virtualization for this guest</description>
1626       </boolean>
1627       <scalar name="mask">
1628         <description>Contains a mask of spaces to clone/enter</description>
1629       </scalar>
1630     </collection>
1631
1632     <collection name="ionice" since="0.30.216">
1633       <scalar name="class">
1634         <description>The IO scheduling class to use for this guest (see ionice(1)).</description>
1635       </scalar>
1636       <scalar name="priority">
1637         <description>The IO scheduling priority to use for this guest (see ionice(1)).</description>
1638       </scalar>
1639     </collection>
1640
1641     <collection name="cgroup" use="optional" since="0.30.216" id="guest-cgroup">
1642       <description>
1643 This directory contains cgroup settings to be applied to this guest.
1644 See your kernel documentation for what settings are valid with your
1645 configuration.
1646       </description>
1647       <scalar name="name">
1648         <description>
1649 If this file exists, the guest will be put in a cgroup named after the
1650 contents of this file. The default is to name the cgroup the same thing as the
1651 guest, unless
1652 <optionref ref="global-cgroup-name">.defaults/cgroup/name</optionref> says
1653 otherwise.
1654         </description>
1655       </scalar>
1656     </collection>
1657     <scalar name="nocgroup" since="0.30.216">
1658       <description>
1659 If this file exists,
1660 <optionref ref="global-cgroup">.defaults/cgroup</optionref> will be ignored
1661 for this guest.
1662       </description>
1663     </scalar>
1664   </collection>
1665   </database>