mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
storage: add support for Vendor and Model in XML
I wrote a patch to add support for listing the Vendor and Model of a storage pool in the storage pool XML. This would allow vendor extensions of specific devices. The patch includes a test for the new attributes as well. Patrick Dignan
This commit is contained in:
committed by
Eric Blake
parent
3223871e2e
commit
20be699ee3
@@ -70,6 +70,8 @@
|
||||
<source>
|
||||
<host name="iscsi.example.com"/>
|
||||
<device path="demo-target"/>
|
||||
<vendor name="Acme"/>
|
||||
<product name="model"/&t;
|
||||
</source>
|
||||
...</pre>
|
||||
|
||||
@@ -108,6 +110,16 @@
|
||||
type, or network filesystem type, or partition table type, or
|
||||
LVM metadata type. All drivers are required to have a default
|
||||
value for this, so it is optional. <span class="since">Since 0.4.1</span></dd>
|
||||
|
||||
<dt><code>vendor</code></dt>
|
||||
<dd>Provides optional information about the vendor of the
|
||||
storage device. This contains a single
|
||||
attribute <code>name</code> whose value is backend
|
||||
specific. <span class="since">Since 0.8.4</span></dd>
|
||||
<dt><code>product</code></dt>
|
||||
<dd>Provides an optional product name of the storage device.
|
||||
This contains a single attribute <code>name</code> whose value
|
||||
is backend specific. <span class="since">Since 0.8.4</span></dd>
|
||||
</dl>
|
||||
|
||||
<h3><a name="StoragePoolTarget">Target elements</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user