Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
f60bd7c7
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看板
提交
f60bd7c7
编写于
4月 23, 2013
作者:
J
John Ferlan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: Update formatdomain for lifecycle events
上级
efdcc92f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
23 addition
and
8 deletion
+23
-8
docs/formatdomain.html.in
docs/formatdomain.html.in
+23
-8
未找到文件。
docs/formatdomain.html.in
浏览文件 @
f60bd7c7
...
...
@@ -967,7 +967,13 @@
<p>
It is sometimes necessary to override the default actions taken
on various events.
on various events. Not all hypervisors support all events and actions.
The actions may be taken as a result of calls to libvirt APIs
<code
class=
'docref'
>
virDomainReboot
</code>
,
<code
class=
'docref'
>
virDomainShutdown
</code>
, or
<code
class=
'docref'
>
virDomainShutdownFlags
</code>
.
Using
<code>
virsh reboot
</code>
or
<code>
virsh shutdown
</code>
would
also trigger the event.
</p>
<pre>
...
...
@@ -1004,20 +1010,29 @@
<dl>
<dt><code>
destroy
</code></dt>
<dd>
The domain will be terminated completely and all resources
released
</dd>
released
.
</dd>
<dt><code>
restart
</code></dt>
<dd>
The domain will be terminated
,
and then restarted with
the same configuration
</dd>
<dd>
The domain will be terminated and then restarted with
the same configuration
.
</dd>
<dt><code>
preserve
</code></dt>
<dd>
The domain will be terminated
,
and its resource preserved
<dd>
The domain will be terminated and its resource preserved
to allow analysis.
</dd>
<dt><code>
rename-restart
</code></dt>
<dd>
The domain will be terminated
,
and then restarted with
a new name
</dd>
<dd>
The domain will be terminated and then restarted with
a new name
.
</dd>
</dl>
<p>
on_crash supports these additional
QEMU/KVM supports the
<code>
on_poweroff
</code>
and
<code>
on_reboot
</code>
events handling the
<code>
destroy
</code>
and
<code>
restart
</code>
actions.
The
<code>
preserve
</code>
action for an
<code>
on_reboot
</code>
event
is treated as a
<code>
destroy
</code>
and the
<code>
rename-restart
</code>
action for an
<code>
on_poweroff
</code>
event is treated as a
<code>
restart
</code>
event.
</p>
<p>
The
<code>
on_crash
</code>
event supports these additional
actions
<span
class=
"since"
>
since 0.8.4
</span>
.
</p>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录