Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
5c3611ca
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
5c3611ca
编写于
10月 24, 2010
作者:
D
Daniel Veillard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Sysinfo extension to relax-ng schemas
Currently includes a subset of the SMBIOS strings set
上级
b5f8691e
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
75 addition
and
0 deletion
+75
-0
docs/schemas/domain.rng
docs/schemas/domain.rng
+75
-0
未找到文件。
docs/schemas/domain.rng
浏览文件 @
5c3611ca
...
...
@@ -30,6 +30,9 @@
<optional>
<ref
name=
"cpu"
/>
</optional>
<optional>
<ref
name=
"sysinfo"
/>
</optional>
<ref
name=
"os"
/>
<ref
name=
"clock"
/>
<ref
name=
"resources"
/>
...
...
@@ -1744,6 +1747,78 @@
</element>
</define>
<!--
System information specification:
Placeholder for system specific informations likes the ones
contained in the SMBIOS area.
Only a limited subset of entries can be modified there, so we
fully enumerate each case here.
The DMTF spec doesn't specify any string subset, just 0 terminated
byte strings, but better be safe and restrict at least the names
to avoid problems with space normalization in attribute values,
the value is kept as the element body for maximum flexibility.
A priori we allow only type 0 and type 1 string updates
-->
<define
name=
"sysinfo"
>
<element
name=
"sysinfo"
>
<attribute
name=
"type"
>
<value>
smbios
</value>
</attribute>
<interleave>
<optional>
<element
name=
"bios"
>
<oneOrMore>
<element
name=
"entry"
>
<attribute
name=
"name"
>
<ref
name=
"sysinfo-bios-name"
/>
</attribute>
<ref
name=
"sysinfo-value"
/>
</element>
</oneOrMore>
</element>
</optional>
<optional>
<element
name=
"system"
>
<oneOrMore>
<element
name=
"entry"
>
<attribute
name=
"name"
>
<ref
name=
"sysinfo-system-name"
/>
</attribute>
<ref
name=
"sysinfo-value"
/>
</element>
</oneOrMore>
</element>
</optional>
</interleave>
</element>
</define>
<define
name=
"sysinfo-bios-name"
>
<choice>
<value>
vendor
</value>
<value>
version
</value>
<value>
date
</value>
<value>
release
</value>
</choice>
</define>
<define
name=
"sysinfo-system-name"
>
<choice>
<value>
manufacturer
</value>
<value>
product
</value>
<value>
version
</value>
<value>
serial
</value>
<value>
uuid
</value>
<value>
sku
</value>
</choice>
</define>
<define
name=
"sysinfo-value"
>
<data
type=
"string"
>
<param
name=
'pattern'
>
[a-zA-Z0-9/\-_\. ]+
</param>
</data>
</define>
<define
name=
"address"
>
<element
name=
"address"
>
<choice>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录