[libvirt] [PATCHv4 0/2] lxc keep/drop capabilities

Cédric Bosdonnat cbosdonnat at suse.com
Fri Jul 18 08:02:28 UTC 2014


Hi all,

Even though the v3 has been ACKed (but not pushed), I rebased it on top of
master before pushing it and did a few changes that are worth checking before.

 * Path 1 (feature) and 3 (doc) of the previous version merge merged together as
   suggested for another similar series.

 * virCgroupAllowDevice() has been changed to use negative major / minor device
   values to output '*'. I never saw any of them negative, but I don't have a
   good knowledge of that.

--
Cedric


Cédric Bosdonnat (2):
  lxc: allow to keep or drop capabilities
  lxc domain from xml: convert lxc.cap.drop

 docs/drvlxc.html.in                                |  47 ++++
 docs/schemas/domaincommon.rng                      | 207 ++++++++++++++++++
 src/conf/domain_conf.c                             | 126 ++++++++++-
 src/conf/domain_conf.h                             |  56 +++++
 src/libvirt_private.syms                           |   3 +
 src/lxc/lxc_cgroup.c                               |   8 +
 src/lxc/lxc_container.c                            | 241 +++++++++++++++++++--
 src/lxc/lxc_native.c                               |  25 +++
 src/util/vircgroup.c                               |  57 ++++-
 src/util/vircgroup.h                               |   2 +
 tests/domainschemadata/domain-caps-features.xml    |  28 +++
 tests/lxcconf2xmldata/lxcconf2xml-blkiotune.xml    |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-cpusettune.xml   |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-cputune.xml      |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-idmap.xml        |   2 +
 .../lxcconf2xmldata/lxcconf2xml-macvlannetwork.xml |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-memtune.xml      |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml  |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml    |   2 +
 tests/lxcconf2xmldata/lxcconf2xml-physnetwork.xml  |   4 +
 tests/lxcconf2xmldata/lxcconf2xml-simple.xml       |   8 +
 tests/lxcconf2xmldata/lxcconf2xml-vlannetwork.xml  |   4 +
 22 files changed, 816 insertions(+), 20 deletions(-)
 create mode 100644 tests/domainschemadata/domain-caps-features.xml

-- 
1.8.4.5




More information about the libvir-list mailing list