]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for setting init argv for LXC
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 26 Mar 2012 17:09:31 +0000 (18:09 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Mar 2012 14:52:25 +0000 (15:52 +0100)
commitc91cff255f18a1e9c045f5be0e58029fb55a7d41
treec40869ada166da0712379b847f3280cf674079ef
parenteb8f31c16b10ffc482db9161415586292e7bb836
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
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/lxc/lxc_container.c
tests/Makefile.am
tests/lxcxml2xmldata/lxc-systemd.xml [new file with mode: 0644]
tests/lxcxml2xmltest.c [new file with mode: 0644]
tests/testutilslxc.c [new file with mode: 0644]
tests/testutilslxc.h [new file with mode: 0644]