Re: [libvirt] [PATCH v3 01/12] LXC: Introduce New XML element for user namespace

2013-06-04 Thread Daniel P. Berrange
On Thu, May 23, 2013 at 12:06:45PM +0800, Gao feng wrote: diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index ad5550c..a3c5c84 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -10057,6 +10060,40 @@ cleanup: return ret; } + +/* Parse the XML

[libvirt] [PATCH v3 01/12] LXC: Introduce New XML element for user namespace

2013-05-22 Thread Gao feng
This patch introduces new element idmap for user namespace. for example idmap uid start='0' target='1000' count='10'/ gid start='0' target='1000' count='10'/ /idmap this new element is used for setting proc files /proc/pid/{uid_map,gid_map}. This patch also supports multiple uid/gid