mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 01:04:59 +00:00
schema: Rename definition of disk 'target' element to 'diskTarget'
Rename 'diskTarget' to 'diskTargetDev' and then 'target' to 'diskTarget'. This will make it less confusing when overriding the definition. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
640448cc14
commit
d4b00a6572
@ -157,7 +157,7 @@
|
|||||||
<oneOrMore>
|
<oneOrMore>
|
||||||
<element name="disk">
|
<element name="disk">
|
||||||
<attribute name="name">
|
<attribute name="name">
|
||||||
<ref name="diskTarget"/>
|
<ref name="diskTargetDev"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
<ref name="backupDiskMode"/>
|
<ref name="backupDiskMode"/>
|
||||||
<choice>
|
<choice>
|
||||||
@ -227,7 +227,7 @@
|
|||||||
<oneOrMore>
|
<oneOrMore>
|
||||||
<element name="disk">
|
<element name="disk">
|
||||||
<attribute name="name">
|
<attribute name="name">
|
||||||
<ref name="diskTarget"/>
|
<ref name="diskTargetDev"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
<ref name="backupDiskMode"/>
|
<ref name="backupDiskMode"/>
|
||||||
<optional>
|
<optional>
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<element name="disk">
|
<element name="disk">
|
||||||
<attribute name="name">
|
<attribute name="name">
|
||||||
<choice>
|
<choice>
|
||||||
<ref name="diskTarget"/>
|
<ref name="diskTargetDev"/>
|
||||||
<ref name="absFilePath"/>
|
<ref name="absFilePath"/>
|
||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
@ -1511,7 +1511,7 @@
|
|||||||
<optional>
|
<optional>
|
||||||
<ref name="diskAuth"/>
|
<ref name="diskAuth"/>
|
||||||
</optional>
|
</optional>
|
||||||
<ref name="target"/>
|
<ref name="diskTarget"/>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="deviceBoot"/>
|
<ref name="deviceBoot"/>
|
||||||
</optional>
|
</optional>
|
||||||
@ -2348,15 +2348,16 @@
|
|||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
<define name="diskTarget">
|
<define name="diskTargetDev">
|
||||||
<data type="string">
|
<data type="string">
|
||||||
<param name="pattern">(ioemu:)?(fd|hd|sd|vd|xvd|ubd)[a-zA-Z0-9_]+</param>
|
<param name="pattern">(ioemu:)?(fd|hd|sd|vd|xvd|ubd)[a-zA-Z0-9_]+</param>
|
||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
<define name="target">
|
|
||||||
|
<define name="diskTarget">
|
||||||
<element name="target">
|
<element name="target">
|
||||||
<attribute name="dev">
|
<attribute name="dev">
|
||||||
<ref name="diskTarget"/>
|
<ref name="diskTargetDev"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="bus">
|
<attribute name="bus">
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
<element name="disk">
|
<element name="disk">
|
||||||
<attribute name="name">
|
<attribute name="name">
|
||||||
<choice>
|
<choice>
|
||||||
<ref name="diskTarget"/>
|
<ref name="diskTargetDev"/>
|
||||||
<ref name="absFilePath"/>
|
<ref name="absFilePath"/>
|
||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
Loading…
Reference in New Issue
Block a user