<volume>

Is the root element of a volume configuration-XML.

Text content

None.

Selected attributes

type=file

Usage

Configuring storage pools

Parent elements

None.

Child elements

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>