[libvirt] [PATCHv4 0/2] lxc keep/drop capabilities
Gao feng
gaofeng at cn.fujitsu.com
Wed Jul 23 07:17:46 UTC 2014
On 07/18/2014 04:02 PM, Cédric Bosdonnat wrote:
> 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.
>
ACK & Pushed, thanks!
> --
> 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
>
More information about the libvir-list
mailing list