From: Peter Krempa <[email protected]>

Allow '.' so that CPU features such as:

 <feature name='sse4.1'/>

pass schema validation.

Signed-off-by: Peter Krempa <[email protected]>
---
 src/conf/schemas/cputypes.rng | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/schemas/cputypes.rng b/src/conf/schemas/cputypes.rng
index 8edf1d14e3..eef3807f1a 100644
--- a/src/conf/schemas/cputypes.rng
+++ b/src/conf/schemas/cputypes.rng
@@ -406,7 +406,7 @@
           <element name="feature">
             <attribute name="name">
               <data type="string">
-                <param name="pattern">[a-zA-Z0-9\-_]+</param>
+                <param name="pattern">[a-zA-Z0-9\-_.]+</param>
               </data>
             </attribute>
             <empty/>
-- 
2.55.0

Reply via email to