Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
51434d3b
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,体验更适合开发者的 AI 搜索 >>
提交
51434d3b
编写于
3月 31, 2011
作者:
M
Michal Privoznik
提交者:
Eric Blake
3月 31, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix several formatting mistakes in doc
上级
e44e8e25
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
5 deletion
+5
-5
docs/formatdomain.html.in
docs/formatdomain.html.in
+1
-1
docs/hooks.html.in
docs/hooks.html.in
+3
-3
src/libvirt.c
src/libvirt.c
+1
-1
未找到文件。
docs/formatdomain.html.in
浏览文件 @
51434d3b
...
...
@@ -353,7 +353,7 @@
<dd>
The optional
<code>
vcpupin
</code>
element specifies which of host
physical CPUS the domain VCPU will be pinned to. If this is ommited,
each VCPU pinned to all the physical CPUS by default. It contains two
required attributes, the attribute
<code>
vcpu
</
vcpu
>
specifies vcpu id,
required attributes, the attribute
<code>
vcpu
</
code
>
specifies vcpu id,
and the attribute
<code>
cpuset
</code>
is same as attribute
<code>
cpuset
</code>
of element
<code>
vcpu
</code>
. NB, Only qemu driver supports
</dd>
<dt><code>
shares
</code></dt>
...
...
docs/hooks.html.in
浏览文件 @
51434d3b
...
...
@@ -105,16 +105,16 @@
is not started. The first location,
<span
class=
"since"
>
since
0.9.0
</span>
, is before libvirt performs any resource
labeling, and the hook can allocate resources not managed by
libvirt such as DRBD or missing bridges. This is called as:
<
/br
>
libvirt such as DRBD or missing bridges. This is called as:
<
br/
>
<pre>
/etc/libvirt/hooks/qemu guest_name prepare begin -
</pre>
The second location, available
<span
class=
"since"
>
Since
0.8.0
</span>
, occurs after libvirt has finished labeling
all resources, but has not yet started the guest, called as:
<
/br
>
all resources, but has not yet started the guest, called as:
<
br/
>
<pre>
/etc/libvirt/hooks/qemu guest_name start begin -
</pre></li>
<li>
When a QEMU guest is stopped, the qemu hook script is called
in two locations, to match the startup.
First,
<span
class=
"since"
>
since 0.8.0
</span>
, the hook is
called before libvirt restores any labels:
<
/br
>
called before libvirt restores any labels:
<
br/
>
<pre>
/etc/libvirt/hooks/qemu guest_name stopped end -
</pre>
Then, after libvirt has released all resources, the hook is
called again,
<span
class=
"since"
>
since 0.9.0
</span>
, to allow
...
...
src/libvirt.c
浏览文件 @
51434d3b
...
...
@@ -2852,7 +2852,7 @@ error:
}
/*
* virDomainSetMemoryFlags
* virDomainSetMemoryFlags
:
* @domain: a domain object or NULL
* @memory: the memory size in kilobytes
* @flags: an OR'ed set of virDomainMemoryModFlags
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录