提交 68c0ff3a 编写于 作者: J James Cowgill 提交者: Michal Privoznik

schema: use arch list from basictypes for os arch attribute

I see no reason to duplicate this list of architectures. This also allows
more guest architectures to be used with libvirt (like the mips64el qemu
machine I am trying to run).
Signed-off-by: NJames Cowgill <james410@cowgill.org.uk>
上级 d9a610f9
...@@ -331,7 +331,9 @@ ...@@ -331,7 +331,9 @@
<define name="ostypehvm"> <define name="ostypehvm">
<element name="type"> <element name="type">
<optional> <optional>
<ref name="archList"/> <attribute name="arch">
<ref name="archnames"/>
</attribute>
</optional> </optional>
<optional> <optional>
<attribute name="machine"> <attribute name="machine">
...@@ -344,29 +346,13 @@ ...@@ -344,29 +346,13 @@
</element> </element>
</define> </define>
<define name="archList">
<attribute name="arch">
<choice>
<value>armv7l</value>
<value>aarch64</value>
<value>i686</value>
<value>x86_64</value>
<value>mips</value>
<value>ppc</value>
<value>ppc64</value>
<value>ppc64le</value>
<value>s390</value>
<value>s390x</value>
<value>sparc</value>
</choice>
</attribute>
</define>
<define name="osexe"> <define name="osexe">
<element name="os"> <element name="os">
<element name="type"> <element name="type">
<optional> <optional>
<ref name="archList"/> <attribute name="arch">
<ref name="archnames"/>
</attribute>
</optional> </optional>
<value>exe</value> <value>exe</value>
</element> </element>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册