236
236
<path>/var/lib/virt/images/sparse.img</path>
237
<format>qcow2</format>
237
238
<permissions>
238
239
<owner>0744</owner>
239
240
<group>0744</group>
240
241
<mode>0744</mode>
241
242
<label>virt_image_t</label>
242
243
</permissions>
244
</volume></pre>
244
</target></pre>
247
247
<dt><code>path</code></dt>
274
<h3><a name="StorageVolBacking">Backing store elements</a></h3>
277
A single <code>backingStore</code> element is contained within the top level
278
<code>volume</code> element. This tag is used to describe the optional copy
279
on write, backing store for the storage volume. It can contain the following
286
<path>/var/lib/virt/images/master.img</path>
287
<format>raw</format>
289
<owner>0744</owner>
290
<group>0744</group>
291
<mode>0744</mode>
292
<label>virt_image_t</label>
294
</backingStore>
295
</volume></pre>
298
<dt><code>path</code></dt>
299
<dd>Provides the location at which the backing store can be accessed on
300
the local filesystem, as an absolute path. If omitted, there is no
301
backing store for this volume.
302
<span class="since">Since 0.6.0</span></dd>
303
<dt><code>format</code></dt>
304
<dd>Provides information about the pool specific backing store format.
305
For disk pools it will provide the partition type. For filesystem
306
or directory pools it will provide the file format type, eg cow,
307
qcow, vmdk, raw. Consult the pool-specific docs for the list of valid
308
values. Most file formats require a backing store of the same format,
309
however, the qcow2 format allows a different backing store format.
310
<span class="since">Since 0.6.0</span></dd>
311
<dt><code>permissions</code></dt>
312
<dd>Provides information about the permissions of the backing file.
313
It contains 4 child elements. The
314
<code>mode</code> element contains the octal permission set. The
315
<code>owner</code> element contains the numeric user ID. The <code>group</code>
316
element contains the numeric group ID. The <code>label</code> element
317
contains the MAC (eg SELinux) label string.
318
<span class="since">Since 0.6.0</span>
274
322
<h2><a name="examples">Example configuration</a></h2>