mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03: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>
|
||||
</define>
|
||||
|
||||
<define name="vmwarePath">
|
||||
<data type="string">
|
||||
<param name="pattern">\[[^\]]+\] .+</param>
|
||||
</data>
|
||||
</define>
|
||||
|
||||
<define name="absDirPath">
|
||||
<data type="string">
|
||||
<param name="pattern">/.*</param>
|
||||
|
@ -1652,7 +1652,10 @@
|
||||
<interleave>
|
||||
<optional>
|
||||
<attribute name="file">
|
||||
<ref name="absFilePath"/>
|
||||
<choice>
|
||||
<ref name="absFilePath"/>
|
||||
<ref name="vmwarePath"/>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
<ref name="diskSourceCommon"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user