[PATCH 3/3] schemas: Allow <unique_id/> to be zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 docs/schemas/nodedev.rng | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng
index 4ad6708b70..e089e66858 100644
--- a/docs/schemas/nodedev.rng
+++ b/docs/schemas/nodedev.rng
@@ -443,7 +443,7 @@
 
     <optional>
       <element name="unique_id">
-        <ref name="positiveInteger"/>
+        <ref name="unsignedInt"/>
       </element>
     </optional>
 
-- 
2.32.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux