[libvirt] [PATCH v3 3/3] rng: Extend the range of driveUnit

Han Han hhan at redhat.com
Wed Dec 4 09:35:39 UTC 2019


Since the max unit of virtio scsi disk is 16383, update the range of
driveUnit to it.

Signed-off-by: Han Han <hhan at redhat.com>
---
 docs/schemas/domaincommon.rng | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index d60d94e9ae..1e9a9f295b 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -6460,7 +6460,7 @@
   </define>
   <define name="driveUnit">
     <data type="string">
-      <param name="pattern">[0-9]{1,2}</param>
+      <param name="pattern">[0-9]{1,5}</param>
     </data>
   </define>
   <define name="driveSCSIUnit">
-- 
2.24.0.rc1




More information about the libvir-list mailing list