[libvirt] [PATCH 04/10] xml: create an RNG file for common types and move some definitions there

Laine Stump laine at laine.org
Tue Jul 5 18:04:42 UTC 2011


On 07/05/2011 05:55 AM, Daniel P. Berrange wrote:
> On Tue, Jul 05, 2011 at 03:45:52AM -0400, Laine Stump wrote:
>> domain.rng, network.rng, and interface.rng already use a few of the
>> same types (or in some cases *should* but don't), and an upcoming code
>> change will have them sharing even more. To prepare for that, this
>> patch takes those common data type definitions and moves them into
>> basictypes.rng.
>>
>> This may break some rule about the need to RNG files to be autonomous
>> or something, but I saw that storageencryption.rng is used in this
>> way, so I figured it must not be completely against the law...
>> ---
>>   docs/schemas/Makefile.am    |    1 +
>>   docs/schemas/basictypes.rng |  130 +++++++++++++++++++++++++++++++++++++++++++
>>   docs/schemas/domain.rng     |   86 +---------------------------
>>   docs/schemas/interface.rng  |   71 ++++-------------------
>>   docs/schemas/network.rng    |   79 +++++++-------------------
>>   libvirt.spec.in             |    1 +
>>   6 files changed, 168 insertions(+), 200 deletions(-)
>>   create mode 100644 docs/schemas/basictypes.rng
> Oh, you need to change  mingw32-libvirt.spec.in too


Okay, I made that change and pushed the result. (also added a similar 
mingw32-libvirt.spec.in change to patch 06/10 (fornetworkcommon.rng).




More information about the libvir-list mailing list