libvirt/tests/storagepoolxml2xmlout
Cole Robinson 7c2d65dde2 storage: conf: Don't set any default <mode> in the XML
The XML parser sets a default <mode> if none is explicitly passed in.
This is then used at pool/vol creation time, and unconditionally reported
in the XML.

The problem with this approach is that it's impossible for other code
to determine if the user explicitly requested a storage mode. There
are some cases where we want to make this distinction, but we currently
can't.

Handle <mode> parsing like we handle <owner>/<group>: if no value is
passed in, set it to -1, and adjust the internal consumers to handle
it.
2015-05-25 20:52:55 -04:00
..
pool-dir-naming.xml storage: conf: Don't output owner/group -1 2015-05-21 15:00:52 -04:00
pool-dir.xml storage: conf: Don't output owner/group -1 2015-05-21 15:00:52 -04:00
pool-disk.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-fs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-gluster-sub.xml storage: document gluster pool 2013-11-25 11:03:19 -07:00
pool-gluster.xml storage: document gluster pool 2013-11-25 11:03:19 -07:00
pool-iscsi-auth.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-iscsi-multiiqn.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-vendor-product.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-iscsi.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-create.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-nopath.xml Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
pool-logical.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-mpath.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-netfs-gluster.xml storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
pool-netfs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-rbd.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-scsi-type-fc-host-managed.xml storage: Introduce 'managed' for the fchost parent 2014-11-12 10:18:28 -05:00
pool-scsi-type-fc-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi-type-scsi-host-stable.xml storage: Introduce parentaddr into virStoragePoolSourceAdapter 2014-07-21 12:55:10 -04:00
pool-scsi-type-scsi-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-sheepdog.xml Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00
pool-zfs-sourcedev.xml zfs: fix storagepoolxml2xml test 2015-05-24 10:20:05 +03:00
pool-zfs.xml zfs: fix storagepoolxml2xml test 2015-05-24 10:20:05 +03:00