conf: Introduce <shareable> for hostdev

Unlike disk device, the scsi-generic always writethrough the data,
so no need to introduce a "cache" tag, and set "cache=off".
This commit is contained in:
Osier Yang
2013-05-04 02:07:33 +08:00
parent 95c6cc344b
commit f2c1d9a804
6 changed files with 53 additions and 0 deletions

View File

@@ -2506,6 +2506,12 @@
<dd>Indicates that the device is readonly, only supported by SCSI host
device now. <span class="since">Since 1.0.6 (QEMU and KVM only)</span>
</dd>
<dt><code>shareable</code></dt>
<dd>If present, this indicates the device is expected to be shared
between domains (assuming the hypervisor and OS support this).
Only supported by SCSI host device.
<span class="since">Since 1.0.6</span>
</dd>
</dl>

View File

@@ -3135,6 +3135,11 @@
<empty/>
</element>
</optional>
<optional>
<element name="shareable">
<empty/>
</element>
</optional>
</interleave>
</element>
</define>