[libvirt] [RFC PATCH] doc: add sample XML for disk

Wen Congyang wency at cn.fujitsu.com
Mon Jul 11 02:11:04 UTC 2011


At 07/07/2011 05:33 PM, Daniel P. Berrange Write:
> On Thu, Jul 07, 2011 at 01:06:01PM +0800, Wen Congyang wrote:
>> When I edit the xml config file, I need to know the format.
>> The easiest way to know the format is a sample XML.
>> But we do not have such sample now.
>>
>> TODO:
>> 1. dir and network disk's sample
>> 2. nic's sample
>>
>> If we need such document, I will continue doing it.
> 
> I agree it would be useful to have man pages documenting the
> XML format. I wonder if we can somehow have one set of content,
> and from that generate both the docs/formatdomain.html and
> a docs/virt-xml-domain.pod file ?

It's good idea to auto generate such document and formatdomain
by one set of content.

But it needs more time to do it, and I think we can add such
document first and implement this idea later.

> 
> Likewise for the other XML schemas.
> 
> Regards,
> Daniel




More information about the libvir-list mailing list