]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rng: Extend the range of driveUnit
authorHan Han <hhan@redhat.com>
Wed, 4 Dec 2019 09:35:39 +0000 (17:35 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 4 Dec 2019 12:20:57 +0000 (13:20 +0100)
Since the max unit of virtio scsi disk is 16383, update the range of
driveUnit to it.

Signed-off-by: Han Han <hhan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/schemas/domaincommon.rng

index d60d94e9ae6815bd0e6af372142cb0849c1ea8a2..1e9a9f295b9a41100f062de5529e3a810cd9d806 100644 (file)
   </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">