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

Daniel P. Berrange berrange at redhat.com
Tue Jul 5 09:54:01 UTC 2011


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

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list