schemas: Allow <unique_id/> to be zero

The value of zero is valid <unique_id/> (see
virNodeDeviceGetSCSIHostCaps()) but our RNG does not think so.
Switching the type to 'unsignedInt' does allow value of zero.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2021-09-16 13:21:33 +02:00
parent 0ef02498ee
commit 7bfb102ce4

View File

@ -443,7 +443,7 @@
<optional>
<element name="unique_id">
<ref name="positiveInteger"/>
<ref name="unsignedInt"/>
</element>
</optional>