[PATCH 17/21] schema: domain: Allow space in XML schema for bridge source

Peter Krempa pkrempa at redhat.com
Thu Oct 8 07:55:31 UTC 2020


vmware's network names can contain space and they are used as bridge
source. Modify the schema to allow it.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/schemas/domaincommon.rng | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3ebffd9db3..41c256b653 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2879,7 +2879,9 @@

   <define name="interface-bridge-attributes">
     <attribute name="bridge">
-      <ref name="deviceName"/>
+      <data type="string">
+        <param name="pattern">[a-zA-Z0-9_\.\-\\:/ ]*</param>
+      </data>
     </attribute>
     <optional>
       <attribute name="macTableManager">
-- 
2.26.2




More information about the libvir-list mailing list