[libvirt] [PATCH] 512069 fix domain XML schemas for backward compatibility
Daniel Veillard
veillard at redhat.com
Fri Nov 20 14:50:22 UTC 2009
On Wed, Nov 18, 2009 at 10:50:48AM +0000, Daniel P. Berrange wrote:
> On Wed, Nov 18, 2009 at 11:33:10AM +0100, Daniel Veillard wrote:
> > https://bugzilla.redhat.com/show_bug.cgi?id=512069
> > 512069 fix domain XML schemas for backward compatibility
> >
> > For backward compatibility we used to add the tty path as
> > a tty attribute on console of type pty, duplicating the value
> > now found in source/@path, but the Relax-NG grammar wasn't
> > extended for this
> > <console type='pty' tty='/dev/pts/8'>
> > <source path='/dev/pts/8'/>
> > <target port='0'/>
> > </console>
> >
> > * docs/schemas/domain.rng: allow an optional tty attribute
> > containing a devicePath
> >
> > diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
> > index 1bf44fd..e726801 100644
> > --- a/docs/schemas/domain.rng
> > +++ b/docs/schemas/domain.rng
> > @@ -931,6 +931,11 @@
> > -->
> > <define name="qemucdev">
> > <ref name="qemucdevSrcType"/>
> > + <optional>
> > + <attribute name="tty">
> > + <ref name="devicePath"/>
> > + </attribute>
> > + </optional>
> > <interleave>
> > <ref name="qemucdevSrcDef"/>
> > <optional>
> >
>
> ACK
Pushed now !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list