<format>

Specifies the image file format backing the storage pool volume.

Text content

None.

Selected attributes

type=raw | qcow2

Usage

Configuring storage pools

Parent elements

<target> as child element of <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>