提交 1e98d450 编写于 作者: P Peter Krempa

docs: domain: Fix documentation of the 'snapshot' attribute for <disk>

Emphasise the valid values by wrapping them in <code> and reword the
last sentence so that the invalid value example can be dropped.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1523070
上级 c416a20d
...@@ -2584,17 +2584,16 @@ ...@@ -2584,17 +2584,16 @@
<dt><code>snapshot</code></dt> <dt><code>snapshot</code></dt>
<dd> <dd>
Indicates the default behavior of the disk during disk snapshots: Indicates the default behavior of the disk during disk snapshots:
"internal" requires a file format such as qcow2 that can store "<code>internal</code>" requires a file format such as qcow2 that
both the snapshot and the data changes since the snapshot; can store both the snapshot and the data changes since the snapshot;
"external" will separate the snapshot from the live data; and "<code>external</code>" will separate the snapshot from the live
"no" means the disk will not participate in snapshots. Read-only data; and "<code>no</code>" means the disk will not participate in
disks default to "no", while the default for other disks depends snapshots. Read-only disks default to "<code>no</code>", while the
on the hypervisor's capabilities. Some hypervisors allow a default for other disks depends on the hypervisor's capabilities.
per-snapshot choice as well, during Some hypervisors allow a per-snapshot choice as well, during
<a href="formatsnapshot.html">domain snapshot creation</a>. <a href="formatsnapshot.html">domain snapshot creation</a>.
Not all snapshot modes are supported; for example, Not all snapshot modes are supported; for example, enabling
<code>snapshot='yes'</code> with a transient disk generally snapshots with a transient disk generally does not make sense.
does not make sense.
<span class="since">Since 0.9.5</span> <span class="since">Since 0.9.5</span>
</dd> </dd>
</dl> </dl>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册