Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
3c998963
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3c998963
编写于
1月 18, 2011
作者:
E
Eric Blake
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: document <sysinfo> and <smbios> elements
* docs/formatdomain.html.in: Talk about <sysinfo> throughout.
上级
c5b11b3c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
78 addition
and
1 deletion
+78
-1
docs/formatdomain.html.in
docs/formatdomain.html.in
+78
-1
未找到文件。
docs/formatdomain.html.in
浏览文件 @
3c998963
...
...
@@ -48,7 +48,10 @@
a globally unique identifier for the virtual machine.
The format must be RFC 4122 compliant, eg
<code>
3e3fce45-4f53-4fa7-bb32-11f34168b82b
</code>
.
If omitted when defining/creating a new machine, a random
UUID is generated.
<span
class=
"since"
>
Since 0.0.1
</span></dd>
UUID is generated. It is also possible to provide the UUID
via a
<a
href=
"#elementsSysinfo"
><code>
sysinfo
</code></a>
specification.
<span
class=
"since"
>
Since 0.0.1, sysinfo
since 0.8.7
</span></dd>
<dt><code>
description
</code></dt>
<dd>
The content of the
<code>
description
</code>
element provides a
...
...
@@ -81,6 +84,7 @@
<
boot dev='hd'/
>
<
boot dev='cdrom'/
>
<
bootmenu enable='yes'/
>
<
smbios mode='sysinfo'/
>
<
/os
>
...
</pre>
...
...
@@ -115,6 +119,16 @@
If not specified, the hypervisor default is used.
<span
class=
"since"
>
Since 0.8.3
</span>
</dd>
<dt><code>
smbios
</code></dt>
<dd>
How to populate SMBIOS information visible in the guest.
The
<code>
mode
</code>
attribute must be specified, and is either
"emulate" (let the hypervisor generate all values), "host" (copy
all of Block 0 and Block 1, except for the UUID, from the host's
SMBIOS values), or "sysinfo" (use the values in
the
<a
href=
"#elementsSysinfo"
>
sysinfo
</a>
element). If not
specified, the hypervisor default is used.
<span
class=
"since"
>
Since 0.8.7
</span>
</dd>
</dl>
<h4><a
name=
"elementsOSBootloader"
>
Host bootloader
</a></h4>
...
...
@@ -188,6 +202,69 @@
installation media source / kickstart file
</dd>
</dl>
<h3><a
name=
"elementsSysinfo"
>
SMBIOS System Information
</a></h3>
<p>
Some hypervisors allow control over what system information is
presented to the guest (for example, SMBIOS fields can be
populated by a hypervisor and inspected via
the
<code>
dmidecode
</code>
command in the guest). The
optional
<code>
sysinfo
</code>
element covers all such categories
of information.
<span
class=
"since"
>
Since 0.8.7
</span>
</p>
<pre>
...
<
os
>
<
smbios mode='sysinfo'/
>
...
<
/os
>
<
sysinfo type='smbios'
>
<
bios
>
<
entry name='vendor'
>
LENOVO
<
/entry
>
<
/bios
>
<
system
>
<
entry name='manufacturer'
>
Fedora
<
/entry
>
<
entry name='vendor'
>
Virt-Manager
<
/entry
>
<
/system
>
<
/sysinfo
>
...
</pre>
<p>
The
<code>
sysinfo
</code>
element has a mandatory
attribute
<code>
type
</code>
that determine the layout of
sub-elements, with supported values of:
</p>
<dl>
<dt><code>
smbios
</code></dt>
<dd>
Sub-elements call out specific SMBIOS values, which will
affect the guest if used in conjunction with
the
<code>
smbios
</code>
sub-element of
the
<a
href=
"#elementsOS"
><code>
os
</code></a>
element. Each
sub-element of
<code>
sysinfo
</code>
names a SMBIOS block, and
within those elements can be a list of
<code>
entry
</code>
elements that describe a field within the block. The following
blocks and entries are recognized:
<dl>
<dt><code>
bios
</code></dt>
<dd>
This is block 0 of SMBIOS, with entry names drawn from
"vendor", "version", "date", and "release".
</dd>
<dt><code>
system
</code></dt>
<dd>
This is block 1 of SMBIOS, with entry names drawn from
"manufacturer", "product", "version", "serial", "uuid",
"sku", and "family". If a "uuid" entry is provided
alongside a
top-level
<a
href=
"#elementsMetadata"
><code>
uuid
</code>
element
</a>
, the two values must match.
</dd>
</dl>
</dd>
</dl>
<h3><a
name=
"elementsResources"
>
Basic resources
</a></h3>
<pre>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录