[PATCH 05/31] schema: nodedev: Adjust allowed characters in 'vpdFieldValueFormat'

Peter Krempa posted 31 patches 7 months, 1 week ago
[PATCH 05/31] schema: nodedev: Adjust allowed characters in 'vpdFieldValueFormat'
Posted by Peter Krempa 7 months, 1 week ago
The check in 'virPCIVPDResourceIsValidTextValue' allows any printable
characters, thus the XML schema should do the same.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 src/conf/schemas/nodedev.rng | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/schemas/nodedev.rng b/src/conf/schemas/nodedev.rng
index fba4021754..ff07313968 100644
--- a/src/conf/schemas/nodedev.rng
+++ b/src/conf/schemas/nodedev.rng
@@ -869,7 +869,7 @@

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

-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org