<key>

Identifies the volume.

Text content

Read-only value that identifies the volume within libvirt.

Selected attributes

None.

Usage

Configuring storage pools

Parent elements

<volume>

Child elements

None.

Example

<volume type="file">
    <name>federico.img</name>
    <key>/var/lib/libvirt/images/federico.img</key>
    <target>
        <path>/var/lib/libvirt/images/federico.img</path>
        <format type="qcow2"/>  
    </target>
</volume>