From: Bharata B Rao <bharata(a)linux.vnet.ibm.com>
Date: Thu, 1 Dec 2011 23:15:55 +0530
Subject: [PATCH 5/5] Add ppc64 specific definitions to domain.rng
ppc64 as new arch type and pseries as new machine type are
added under <os> ... </os>.
Signed-off-by: Bharata B Rao <bharata(a)linux.vnet.ibm.com>
Signed-off-by: Prerna Saxena <prerna(a)linux.vnet.ibm.com>
---
docs/schemas/domaincommon.rng | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 22bbd46..b8fbcf9 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -192,6 +192,7 @@
<ref name="hvmmips"/>
<ref name="hvmsparc"/>
<ref name="hvmppc"/>
+ <ref name="hvmppc64"/>
</choice>
</optional>
<value>hvm</value>
@@ -262,6 +263,22 @@
</optional>
</group>
</define>
+ <define name="hvmppc64">
+ <group>
+ <optional>
+ <attribute name="arch">
+ <value>ppc64</value>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="machine">
+ <choice>
+ <value>pseries</value>
+ </choice>
+ </attribute>
+ </optional>
+ </group>
+ </define>
<define name="osexe">
<element name="os">
<element name="type">
--
1.7.7
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India