[libvirt] [PATCH 0/2] Set lxc container working directory

Cédric Bosdonnat cbosdonnat at suse.com
Thu Jun 1 12:26:15 UTC 2017


Hi all,

To get lxc containers set the workng directory I had to refactor
virExec and virCommandExec to share some more code.

Cédric Bosdonnat (2):
  util: share code between virExec and virCommandExec
  lxc: allow user to specify command working directory

 docs/formatdomain.html.in            |  5 ++
 docs/schemas/domaincommon.rng        |  5 ++
 src/conf/domain_conf.c               |  5 ++
 src/conf/domain_conf.h               |  1 +
 src/lxc/lxc_container.c              |  4 +-
 src/util/vircommand.c                | 92 +++++++++++++++++-------------------
 tests/lxcxml2xmldata/lxc-initdir.xml | 30 ++++++++++++
 tests/lxcxml2xmltest.c               |  1 +
 8 files changed, 93 insertions(+), 50 deletions(-)
 create mode 100644 tests/lxcxml2xmldata/lxc-initdir.xml

-- 
2.12.2




More information about the libvir-list mailing list