mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
schema: domain: Accept VMware disk sources for the disk
Accept the 'datastore' variant of disk source specification used by our VMware driver. https://libvirt.org/drvesx.html#datastore Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
77064438d4
commit
8142950a7f
@ -303,6 +303,12 @@
|
|||||||
</data>
|
</data>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name="vmwarePath">
|
||||||
|
<data type="string">
|
||||||
|
<param name="pattern">\[[^\]]+\] .+</param>
|
||||||
|
</data>
|
||||||
|
</define>
|
||||||
|
|
||||||
<define name="absDirPath">
|
<define name="absDirPath">
|
||||||
<data type="string">
|
<data type="string">
|
||||||
<param name="pattern">/.*</param>
|
<param name="pattern">/.*</param>
|
||||||
|
@ -1652,7 +1652,10 @@
|
|||||||
<interleave>
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<attribute name="file">
|
<attribute name="file">
|
||||||
|
<choice>
|
||||||
<ref name="absFilePath"/>
|
<ref name="absFilePath"/>
|
||||||
|
<ref name="vmwarePath"/>
|
||||||
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
<ref name="diskSourceCommon"/>
|
<ref name="diskSourceCommon"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user