Signed-off-by: Haibin Huang <haibin.huang(a)intel.com>
---
docs/schemas/domaincaps.rng | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/docs/schemas/domaincaps.rng b/docs/schemas/domaincaps.rng
index 325581476d..a9fd21fcb6 100644
--- a/docs/schemas/domaincaps.rng
+++ b/docs/schemas/domaincaps.rng
@@ -219,6 +219,9 @@
<optional>
<ref name='sev'/>
</optional>
+ <optional>
+ <ref name='sgx'/>
+ </optional>
</element>
</define>
@@ -267,6 +270,20 @@
</element>
</define>
+ <define name='sgx'>
+ <element name='sgx'>
+ <ref name='supported'/>
+ <optional>
+ <element name='sgx1'>
+ <data type='unsignedInt'/>
+ </element>
+ <element name='sgx2'>
+ <data type='unsignedInt'/>
+ </element>
+ </optional>
+ </element>
+ </define>
+
<define name='value'>
<zeroOrMore>
<element name='value'>
--
2.17.1