]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: nodedev: Adjust allowed characters in 'vpdFieldValueFormat'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 29 Jan 2024 15:12:09 +0000 (16:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 31 Jan 2024 16:24:07 +0000 (17:24 +0100)
The check in 'virPCIVPDResourceIsValidTextValue' allows any printable
characters, thus the XML schema should do the same.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/schemas/nodedev.rng

index fba4021754022c9b336b7f3d40c8832e774ab7b2..ff073139681a5c787fd60ba2c4fec6cd7261ddb7 100644 (file)
 
   <define name="vpdFieldValueFormat">
     <data type="string">
-      <param name="pattern">[0-9a-zA-F -_,.:;=]{0,255}</param>
+      <param name="pattern">.{0,255}</param>
     </data>
   </define>