]> xenbits.xensource.com Git - libvirt.git/commit
Add support for storage format in FS <driver>
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Apr 2013 14:06:14 +0000 (15:06 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 13 May 2013 12:15:19 +0000 (13:15 +0100)
commitada14b86cc46dd592fba9888218d9950737ecc9a
tree5f239915e5c45669e7d51cd1393a2eb6f887b096
parent23fbda20a7be7472ae2aab89ffe3fd0708fe84d8
Add support for storage format in FS <driver>

Extend the <driver> element in filesystem devices to
allow a storage format to be set. The new attribute
uses 'format' to reflect the storage format. This is
different from the <driver> element in disk devices
which use 'type' to reflect the storage format. This
is because the 'type' attribute on filesystem devices
is already used for the driver backend, for which the
disk devices use the 'name' attribute. Arggggh.

Anyway for disks we have

   <driver name="qemu" type="raw"/>

And for filesystems this change means we now have

   <driver type="loop" format="raw"/>

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
docs/schemas/domainsnapshot.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/lxcxml2xmldata/lxc-disk-formats.xml [new file with mode: 0644]
tests/lxcxml2xmltest.c