libvirt/src/storage
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
..
parthelper.c Remove unnecessary curly brackets in src/storage/ 2014-11-14 17:13:01 +01:00
storage_backend_disk.c storage: Resolve Coverity FORWARD_NULL 2015-05-24 07:01:48 -04:00
storage_backend_disk.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_fs.c storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storage_backend_fs.h storage: add file functions for local and block files 2014-02-14 10:47:57 +01:00
storage_backend_gluster.c Revert "Restore skipping of setting capacity" 2015-03-02 08:07:11 +01:00
storage_backend_gluster.h storage: Add storage file backends for gluster 2014-02-14 11:07:23 +01:00
storage_backend_iscsi.c iscsi: do not fail to stop a stopped pool 2015-04-30 13:05:10 +02:00
storage_backend_iscsi.h Move functions using iscsiadm to viriscsi.c 2014-03-20 18:04:50 +01:00
storage_backend_logical.c storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storage_backend_logical.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_mpath.c storage: Remove unused attribute conn from 'checkPool' callback 2015-04-02 11:57:07 +02:00
storage_backend_mpath.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend_rbd.c Allow creating volumes with a backing store but no capacity 2015-03-02 08:07:11 +01:00
storage_backend_rbd.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_scsi.c storage: Resolve Coverity UNINIT 2015-04-27 06:57:51 -04:00
storage_backend_scsi.h storage: Move virStorageBackendSCSIGetHostNumber into iscsi backend 2013-04-08 18:41:06 +08:00
storage_backend_sheepdog.c storage: sheepdog: Avoid skipping variable initialization 2015-03-02 10:09:49 +01:00
storage_backend_sheepdog.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend_zfs.c storage: Remove unused attribute conn from 'checkPool' callback 2015-04-02 11:57:07 +02:00
storage_backend_zfs.h storage: ZFS support 2014-08-12 19:40:20 +04:00
storage_backend.c storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storage_backend.h storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storage_driver.c storage: If driver startup state syncing fails, delete statefile 2015-04-28 09:37:58 -04:00
storage_driver.h storage: Introduce storagePoolLookupByTargetPath 2014-12-02 17:51:57 +01:00