[libvirt] [PATCH v2 2/5] conf: add XML schema for domain XML

Osier Yang jyang at redhat.com
Fri Dec 30 05:05:48 UTC 2011


On 2011年12月22日 15:04, Taku Izumi wrote:
>
> This patch introduces XML schema for domains to retain arbitrary capabilities.
> For example, by adding the following XML to domain configuration,
> its domain can retain cap_sys_rawio capability.
>
>    <process>
>      <cap name='sys_rawio'/>
>    </process>
>
>
> Signed-off-by: Taku Izumi<izumi.taku at jp.fujitsu.com>
> Signed-off-by: Shota Hirae<m11g1401 at hibikino.ne.jp>
> ---
>   docs/formatdomain.html.in     |   48 ++++++++++++++++++++++++++++++++++++++
>   docs/schemas/domaincommon.rng |   52 ++++++++++++++++++++++++++++++++++++++++++
>   src/conf/domain_conf.c        |   33 ++++++++++++++++++++++++++
>   src/conf/domain_conf.h        |    2 +
>   4 files changed, 135 insertions(+)
>

And better to add some tests.

Regards,
Osier




More information about the libvir-list mailing list