Add RelaxNG schema definition for the ACPI EGM memory device configuration.
This schema defines the XML structure for configuring extended memory access
through ACPI tables.

The schema includes:
- Device alias for unique identification
- PCI device reference for memory source
- NUMA node assignment for memory placement

Signed-off-by: Ian May <i...@nvidia.com>
---
 src/conf/schemas/domaincommon.rng | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/conf/schemas/domaincommon.rng 
b/src/conf/schemas/domaincommon.rng
index 2d6e15f144..8501419403 100644
--- a/src/conf/schemas/domaincommon.rng
+++ b/src/conf/schemas/domaincommon.rng
@@ -6429,6 +6429,22 @@
     </element>
   </define>
 
+  <define name="acpiEgmMemory">
+    <element name="acpiEgmMemory">
+      <element name="alias">
+        <attribute name="name">
+          <data type="string"/>
+        </attribute>
+      </element>
+      <element name="pciDev">
+        <data type="string"/>
+      </element>
+      <element name="numaNode">
+        <data type="nonNegativeInteger"/>
+      </element>
+    </element>
+  </define>
+
   <define name="hostdev">
     <element name="hostdev">
       <interleave>
@@ -6901,6 +6917,9 @@
         <optional>
           <ref name="pstore"/>
         </optional>
+        <optional>
+          <ref name="acpiEgmMemory"/>
+        </optional>
       </interleave>
     </element>
   </define>
-- 
2.43.0

Reply via email to