You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
From 9cf23fdd0cf7d5b39a1f51cfc61826b4da431db2 Mon Sep 17 00:00:00 2001
|
|
Message-ID: <9cf23fdd0cf7d5b39a1f51cfc61826b4da431db2.1786713644.git.jdenemar@redhat.com>
|
|
From: Peter Krempa <pkrempa@redhat.com>
|
|
Date: Mon, 3 Aug 2026 14:53:25 +0200
|
|
Subject: [PATCH] conf: schemas: Allow '.' in schema for CPU flag name
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Allow '.' so that CPU features such as:
|
|
|
|
<feature name='sse4.1'/>
|
|
|
|
pass schema validation.
|
|
|
|
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
(cherry picked from commit 5225c1cb688170bb2748f2f23455da4a7cb8a1bf)
|
|
https://redhat.atlassian.net/browse/RHEL-222549
|
|
---
|
|
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
|
|
|