2013-01-23 15:03:17 +00:00
|
|
|
<?xml version="1.0"?>
|
2009-08-05 09:56:56 +00:00
|
|
|
<!-- A Relax NG schema for the libvirt capabilities XML format -->
|
2009-01-27 15:29:53 +00:00
|
|
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
|
|
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2012-03-06 14:08:02 +00:00
|
|
|
<include href='basictypes.rng'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
<start>
|
|
|
|
<ref name='capabilities'/>
|
|
|
|
</start>
|
|
|
|
|
|
|
|
|
|
|
|
<define name='capabilities'>
|
|
|
|
<element name='capabilities'>
|
|
|
|
<ref name='hostcaps'/>
|
|
|
|
|
|
|
|
<zeroOrMore>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='guestcaps'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</zeroOrMore>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='hostcaps'>
|
|
|
|
<element name='host'>
|
2010-05-25 14:33:51 +00:00
|
|
|
<optional>
|
|
|
|
<element name='uuid'>
|
|
|
|
<ref name='UUID'/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
<element name='cpu'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='arch'>
|
|
|
|
<ref name='archnames'/>
|
|
|
|
</element>
|
|
|
|
<optional>
|
|
|
|
<ref name='cpufeatures'/>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<ref name='cpuspec'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
2011-11-22 03:31:22 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='power_management'/>
|
|
|
|
</optional>
|
2018-06-01 08:15:59 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='iommu_support'/>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='migration'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='topology'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
2017-03-30 13:01:27 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='cache'/>
|
|
|
|
</optional>
|
2018-07-30 03:12:41 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='memory_bandwidth'/>
|
|
|
|
</optional>
|
2012-08-15 22:10:36 +00:00
|
|
|
<zeroOrMore>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='secmodel'/>
|
2012-08-15 22:10:36 +00:00
|
|
|
</zeroOrMore>
|
2009-03-03 09:44:41 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='secmodel'>
|
|
|
|
<element name='secmodel'>
|
2012-08-15 22:10:36 +00:00
|
|
|
<interleave>
|
2017-09-07 10:16:04 +00:00
|
|
|
<element name='model'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
<element name='doi'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
<zeroOrMore>
|
|
|
|
<element name='baselabel'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
2012-08-15 22:10:36 +00:00
|
|
|
<text/>
|
|
|
|
</element>
|
2017-09-07 10:16:04 +00:00
|
|
|
</zeroOrMore>
|
|
|
|
</interleave>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-03-03 09:44:41 +00:00
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='cpufeatures'>
|
|
|
|
<element name='features'>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='pae'><empty/></element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='nonpae'><empty/></element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='vmx'><empty/></element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='svm'><empty/></element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-12-18 13:37:09 +00:00
|
|
|
<define name='cpuspec'>
|
|
|
|
<element name='model'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
2010-07-02 15:51:59 +00:00
|
|
|
<optional>
|
|
|
|
<element name='vendor'>
|
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2018-05-19 10:47:27 +00:00
|
|
|
<optional>
|
|
|
|
<element name='microcode'>
|
|
|
|
<attribute name='version'>
|
|
|
|
<ref name='positiveInteger'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2009-12-18 13:37:09 +00:00
|
|
|
<element name='topology'>
|
|
|
|
<attribute name='sockets'>
|
|
|
|
<ref name='positiveInteger'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='cores'>
|
|
|
|
<ref name='positiveInteger'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='threads'>
|
|
|
|
<ref name='positiveInteger'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
<zeroOrMore>
|
|
|
|
<element name='feature'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<ref name='featureName'/>
|
|
|
|
</attribute>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
2014-06-06 16:12:51 +00:00
|
|
|
<zeroOrMore>
|
2018-05-19 11:02:47 +00:00
|
|
|
<ref name='pagesHost'/>
|
2014-06-06 16:12:51 +00:00
|
|
|
</zeroOrMore>
|
2009-12-18 13:37:09 +00:00
|
|
|
</define>
|
|
|
|
|
2011-11-22 03:31:22 +00:00
|
|
|
<define name='power_management'>
|
|
|
|
<element name='power_management'>
|
|
|
|
<interleave>
|
|
|
|
<optional>
|
2011-11-29 14:14:03 +00:00
|
|
|
<element name='suspend_mem'>
|
2011-11-22 03:31:22 +00:00
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
2011-11-29 14:14:03 +00:00
|
|
|
<element name='suspend_disk'>
|
2011-11-22 03:31:22 +00:00
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2011-11-29 06:56:10 +00:00
|
|
|
<optional>
|
2011-11-29 14:14:03 +00:00
|
|
|
<element name='suspend_hybrid'>
|
2011-11-29 06:56:10 +00:00
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2011-11-22 03:31:22 +00:00
|
|
|
</interleave>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2018-06-01 08:15:59 +00:00
|
|
|
<define name='iommu_support'>
|
|
|
|
<element name='iommu'>
|
|
|
|
<optional>
|
|
|
|
<attribute name='support'>
|
|
|
|
<ref name='virYesNo'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='migration'>
|
|
|
|
<element name='migration_features'>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='live'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='uri_transports'>
|
|
|
|
<oneOrMore>
|
|
|
|
<element name='uri_transport'>
|
|
|
|
<choice>
|
2018-05-18 21:47:08 +00:00
|
|
|
<value>vpxmigr</value>
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>tcp</value>
|
2018-05-18 22:00:23 +00:00
|
|
|
<value>rdma</value>
|
2018-05-18 22:25:54 +00:00
|
|
|
<value>vzmigr</value>
|
2010-03-01 19:09:26 +00:00
|
|
|
</choice>
|
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
|
|
|
</element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='topology'>
|
|
|
|
<element name='topology'>
|
|
|
|
<element name='cells'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<attribute name='num'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</attribute>
|
|
|
|
<oneOrMore>
|
|
|
|
<ref name='cell'/>
|
|
|
|
</oneOrMore>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='cell'>
|
|
|
|
<element name='cell'>
|
|
|
|
<attribute name='id'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
|
2013-03-07 16:03:36 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='memory'/>
|
|
|
|
</optional>
|
|
|
|
|
2014-06-06 16:12:51 +00:00
|
|
|
<zeroOrMore>
|
2018-05-19 11:02:47 +00:00
|
|
|
<ref name='pagesNuma'/>
|
2014-06-06 16:12:51 +00:00
|
|
|
</zeroOrMore>
|
|
|
|
|
2014-06-03 13:18:27 +00:00
|
|
|
<optional>
|
|
|
|
<element name='distances'>
|
|
|
|
<zeroOrMore>
|
|
|
|
<element name='sibling'>
|
|
|
|
<attribute name='id'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='value'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<element name='cpus'>
|
|
|
|
<attribute name='num'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2010-03-01 19:09:26 +00:00
|
|
|
</attribute>
|
|
|
|
<oneOrMore>
|
|
|
|
<ref name='cpu'/>
|
|
|
|
</oneOrMore>
|
|
|
|
</element>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2013-03-07 16:03:36 +00:00
|
|
|
<define name='memory'>
|
|
|
|
<element name='memory'>
|
|
|
|
<ref name='scaledInteger'/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='cpu'>
|
|
|
|
<element name='cpu'>
|
|
|
|
<attribute name='id'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='unsignedInt'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
2013-01-18 18:30:00 +00:00
|
|
|
<optional>
|
|
|
|
<attribute name='socket_id'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='core_id'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='siblings'>
|
|
|
|
<ref name='cpuset'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2017-03-30 13:01:27 +00:00
|
|
|
<define name='cache'>
|
|
|
|
<element name='cache'>
|
|
|
|
<oneOrMore>
|
|
|
|
<element name='bank'>
|
|
|
|
<attribute name='id'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='level'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
2017-05-17 09:08:33 +00:00
|
|
|
<ref name='cacheType'/>
|
2017-03-30 13:01:27 +00:00
|
|
|
<attribute name='size'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='unit'>
|
|
|
|
<ref name='unit'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='cpus'>
|
|
|
|
<ref name='cpuset'/>
|
|
|
|
</attribute>
|
2017-05-17 09:08:33 +00:00
|
|
|
<zeroOrMore>
|
|
|
|
<element name='control'>
|
2017-06-05 12:00:45 +00:00
|
|
|
<attribute name='granularity'>
|
2017-05-17 09:08:33 +00:00
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
2017-06-05 12:00:45 +00:00
|
|
|
<optional>
|
|
|
|
<attribute name='min'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
2017-05-17 09:08:33 +00:00
|
|
|
<attribute name='unit'>
|
|
|
|
<ref name='unit'/>
|
|
|
|
</attribute>
|
|
|
|
<ref name='cacheType'/>
|
|
|
|
<attribute name='maxAllocs'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
2017-03-30 13:01:27 +00:00
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
2018-09-20 10:10:50 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='cpuMonitor'/>
|
|
|
|
</optional>
|
2017-03-30 13:01:27 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2017-05-17 09:08:33 +00:00
|
|
|
<define name='cacheType'>
|
|
|
|
<attribute name='type'>
|
|
|
|
<choice>
|
|
|
|
<value>both</value>
|
|
|
|
<value>code</value>
|
|
|
|
<value>data</value>
|
|
|
|
</choice>
|
|
|
|
</attribute>
|
|
|
|
</define>
|
|
|
|
|
2018-07-30 03:12:41 +00:00
|
|
|
<define name='memory_bandwidth'>
|
|
|
|
<element name='memory_bandwidth'>
|
|
|
|
<oneOrMore>
|
|
|
|
<element name='node'>
|
|
|
|
<attribute name='id'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='cpus'>
|
|
|
|
<ref name='cpuset'/>
|
|
|
|
</attribute>
|
|
|
|
<zeroOrMore>
|
|
|
|
<element name='control'>
|
|
|
|
<attribute name='granularity'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<optional>
|
|
|
|
<attribute name='min'>
|
|
|
|
<ref name='unsignedInt'/>
|
2018-09-20 10:10:50 +00:00
|
|
|
</attribute>
|
2018-07-30 03:12:41 +00:00
|
|
|
</optional>
|
|
|
|
<attribute name='maxAllocs'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</zeroOrMore>
|
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
2018-09-20 10:10:50 +00:00
|
|
|
<optional>
|
|
|
|
<ref name='cpuMonitor'/>
|
|
|
|
</optional>
|
2018-07-30 03:12:41 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
2018-09-20 10:10:50 +00:00
|
|
|
<define name='cpuMonitor'>
|
|
|
|
<element name='monitor'>
|
|
|
|
<optional>
|
|
|
|
<attribute name='level'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<attribute name='reuseThreshold'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
|
|
|
<attribute name='maxMonitors'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
<oneOrMore>
|
|
|
|
<element name='feature'>
|
|
|
|
<attribute name='name'>
|
|
|
|
<ref name='monitorFeature'/>
|
|
|
|
</attribute>
|
|
|
|
</element>
|
|
|
|
</oneOrMore>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='monitorFeature'>
|
|
|
|
<data type='string'>
|
|
|
|
<param name='pattern'>(llc_|mbm_)[a-zA-Z0-9\-_]+</param>
|
|
|
|
</data>
|
|
|
|
</define>
|
|
|
|
|
2009-01-27 15:29:53 +00:00
|
|
|
<define name='guestcaps'>
|
|
|
|
<element name='guest'>
|
|
|
|
<ref name='ostype'/>
|
|
|
|
<ref name='arch'/>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='features'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='ostype'>
|
|
|
|
<element name='os_type'>
|
|
|
|
<choice>
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>xen</value> <!-- Xen 3.0 pv -->
|
2015-04-22 14:34:38 +00:00
|
|
|
<value>linux</value> <!-- same as 'xen' - meant to be legacy,
|
|
|
|
but is also used by phyp driver -->
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>hvm</value> <!-- unmodified OS -->
|
|
|
|
<value>exe</value> <!-- For container based virt -->
|
2018-12-14 13:45:07 +00:00
|
|
|
<value>uml</value> <!-- user mode linux; NOT USED ANYMORE -->
|
2009-01-27 15:29:53 +00:00
|
|
|
</choice>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='arch'>
|
|
|
|
<element name='arch'>
|
|
|
|
<attribute name='name'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='archnames'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
<ref name='wordsize'/>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='emulator'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='loader'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
|
|
|
<zeroOrMore>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='machine'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</zeroOrMore>
|
|
|
|
<oneOrMore>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='domain'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</oneOrMore>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='emulator'>
|
|
|
|
<element name='emulator'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='absFilePath'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='loader'>
|
|
|
|
<element name='loader'>
|
2012-03-06 14:08:02 +00:00
|
|
|
<ref name='absFilePath'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='wordsize'>
|
|
|
|
<element name='wordsize'>
|
|
|
|
<choice>
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>31</value>
|
|
|
|
<value>32</value>
|
|
|
|
<value>64</value>
|
2009-01-27 15:29:53 +00:00
|
|
|
</choice>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='machine'>
|
|
|
|
<element name='machine'>
|
2009-07-23 17:31:35 +00:00
|
|
|
<optional>
|
|
|
|
<attribute name='canonical'>
|
|
|
|
<text/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
2013-06-26 15:46:35 +00:00
|
|
|
<optional>
|
|
|
|
<attribute name='maxCpus'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
2009-01-27 15:29:53 +00:00
|
|
|
<text/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='domain'>
|
|
|
|
<element name='domain'>
|
|
|
|
<attribute name='type'>
|
2010-03-01 19:09:26 +00:00
|
|
|
<choice>
|
|
|
|
<value>qemu</value>
|
|
|
|
<value>kqemu</value>
|
|
|
|
<value>kvm</value>
|
|
|
|
<value>xen</value>
|
2018-12-14 13:45:07 +00:00
|
|
|
<value>uml</value> <!-- NOT USED ANYMORE -->
|
2010-03-01 19:09:26 +00:00
|
|
|
<value>lxc</value>
|
|
|
|
<value>openvz</value>
|
|
|
|
<value>test</value>
|
|
|
|
</choice>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
|
|
|
|
<optional>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='emulator'/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</optional>
|
2009-09-10 08:47:57 +00:00
|
|
|
<zeroOrMore>
|
2010-03-01 19:09:26 +00:00
|
|
|
<ref name='machine'/>
|
2009-09-10 08:47:57 +00:00
|
|
|
</zeroOrMore>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='features'>
|
|
|
|
<element name='features'>
|
2012-08-02 11:23:16 +00:00
|
|
|
<interleave>
|
|
|
|
<optional>
|
|
|
|
<element name='pae'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='nonpae'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='ia64_be'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='acpi'>
|
|
|
|
<ref name='featuretoggle'/>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='apic'>
|
|
|
|
<ref name='featuretoggle'/>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='cpuselection'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
|
|
|
<optional>
|
|
|
|
<element name='deviceboot'>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2014-03-17 15:19:44 +00:00
|
|
|
<optional>
|
|
|
|
<element name='disksnapshot'>
|
|
|
|
<ref name='featuretoggle'/>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2019-11-12 13:00:53 +00:00
|
|
|
<optional>
|
|
|
|
<element name='hap'>
|
|
|
|
<ref name='featuretoggle'/>
|
|
|
|
<empty/>
|
|
|
|
</element>
|
|
|
|
</optional>
|
2012-08-02 11:23:16 +00:00
|
|
|
</interleave>
|
2009-01-27 15:29:53 +00:00
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
|
|
|
|
<define name='featuretoggle'>
|
|
|
|
<attribute name='toggle'>
|
2014-09-08 06:06:35 +00:00
|
|
|
<ref name="virYesNo"/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name='default'>
|
2014-09-08 06:06:35 +00:00
|
|
|
<ref name="virOnOff"/>
|
2009-01-27 15:29:53 +00:00
|
|
|
</attribute>
|
|
|
|
</define>
|
|
|
|
|
2009-12-18 13:37:09 +00:00
|
|
|
<define name='featureName'>
|
|
|
|
<data type='string'>
|
|
|
|
<param name='pattern'>[a-zA-Z0-9\-_]+</param>
|
|
|
|
</data>
|
|
|
|
</define>
|
2014-06-06 16:12:51 +00:00
|
|
|
|
2018-05-19 11:02:47 +00:00
|
|
|
<define name='pagesHost'>
|
2014-06-06 16:12:51 +00:00
|
|
|
<element name='pages'>
|
2018-05-19 11:02:47 +00:00
|
|
|
<ref name='pagesElem'/>
|
|
|
|
</element>
|
|
|
|
</define>
|
|
|
|
<define name='pagesNuma'>
|
|
|
|
<element name='pages'>
|
|
|
|
<ref name='pagesElem'/>
|
2014-06-06 16:12:51 +00:00
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</element>
|
|
|
|
</define>
|
2018-05-19 11:02:47 +00:00
|
|
|
<define name='pagesElem'>
|
|
|
|
<optional>
|
|
|
|
<attribute name='unit'>
|
|
|
|
<ref name='unit'/>
|
|
|
|
</attribute>
|
|
|
|
</optional>
|
|
|
|
<attribute name='size'>
|
|
|
|
<ref name='unsignedInt'/>
|
|
|
|
</attribute>
|
|
|
|
</define>
|
2009-01-27 15:29:53 +00:00
|
|
|
</grammar>
|