Introduce <readonly> for hostdev

Since it's generic enough to be used by other types in future, I
put it in <hostdev> as sub-element, though now it's only used by
scsi host device.
This commit is contained in:
Osier Yang
2013-05-04 02:07:25 +08:00
parent dcd632af72
commit f4bb7b4807
9 changed files with 77 additions and 0 deletions

View File

@@ -2415,6 +2415,10 @@
could be changed in the future with no impact to domains that
don't specify anything.
</dd>
<dt><code>readonly</code></dt>
<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>
</dl>

View File

@@ -3075,6 +3075,11 @@
<optional>
<ref name="address"/>
</optional>
<optional>
<element name="readonly">
<empty/>
</element>
</optional>
</interleave>
</element>
</define>