diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-03-26 18:09:31 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-03-27 15:52:25 +0100 |
commit | c91cff255f18a1e9c045f5be0e58029fb55a7d41 (patch) | |
tree | c40869ada166da0712379b847f3280cf674079ef /docs/schemas | |
parent | Detect location fo selinux mount point (diff) | |
download | libvirt-c91cff255f18a1e9c045f5be0e58029fb55a7d41.tar.gz libvirt-c91cff255f18a1e9c045f5be0e58029fb55a7d41.tar.bz2 libvirt-c91cff255f18a1e9c045f5be0e58029fb55a7d41.zip |
Add support for setting init argv for LXC
Pass argv to the init binary of LXC, using a new <initarg> element.
* docs/formatdomain.html.in: Document <os> usage for containers
* docs/schemas/domaincommon.rng: Add <initarg> element
* src/conf/domain_conf.c, src/conf/domain_conf.h: parsing and
formatting of <initarg>
* src/lxc/lxc_container.c: Setup LXC argv
* tests/Makefile.am, tests/lxcxml2xmldata/lxc-systemd.xml,
tests/lxcxml2xmltest.c, tests/testutilslxc.c,
tests/testutilslxc.h: Test parsing/formatting of LXC related
XML parts
Diffstat (limited to 'docs/schemas')
-rw-r--r-- | docs/schemas/domaincommon.rng | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 1f5232ef1..730f3d8e8 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -378,6 +378,11 @@ <ref name="absFilePath"/> </element> </optional> + <zeroOrMore> + <element name="initarg"> + <text/> + </element> + </zeroOrMore> </interleave> </element> </define> |