mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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
This commit is contained in:
parent
b827338a72
commit
2060a0a43e
@ -931,6 +931,11 @@
|
|||||||
-->
|
-->
|
||||||
<define name="qemucdev">
|
<define name="qemucdev">
|
||||||
<ref name="qemucdevSrcType"/>
|
<ref name="qemucdevSrcType"/>
|
||||||
|
<optional>
|
||||||
|
<attribute name="tty">
|
||||||
|
<ref name="devicePath"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
<interleave>
|
<interleave>
|
||||||
<ref name="qemucdevSrcDef"/>
|
<ref name="qemucdevSrcDef"/>
|
||||||
<optional>
|
<optional>
|
||||||
|
Loading…
Reference in New Issue
Block a user