libvirt/src/storage
Michal Privoznik 611a278fa4 storageVolCreateXMLFrom: Check if backend knows how to createVol
It is highly unlikely that a backend will know how to create a
volume from a different volume (buildVolFrom) and not know how to
create an empty volume (createVol). But:
1) we call the function without any prior check so if that's the
case we would SIGSEGV immediatelly
2) it's better to be safe than sorry.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-02-12 16:16:58 +01:00
..
parthelper.c storage: Add new flag for libvirt_parthelper 2016-01-19 13:02:59 -05:00
storage_backend_disk.c storage: Add new flag for libvirt_parthelper 2016-01-19 13:02:59 -05:00
storage_backend_disk.h
storage_backend_fs.c storage: Check FS pool source during virStorageBackendFileSystemIsMounted 2015-12-15 14:33:04 -05: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 Prohibit verbose strcat 2016-02-11 08:05:16 +01:00
storage_backend_logical.h
storage_backend_mpath.c storage: Add readflags for backend error processing 2015-12-09 16:31:14 -05: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 rbd: Use %zu for uint64_t instead of casting to unsigned long long 2016-02-05 14:29:24 -05:00
storage_backend_rbd.h
storage_backend_scsi.c storage: Ignore block devices that fail format detection 2015-12-09 16:31:15 -05:00
storage_backend_scsi.h
storage_backend_sheepdog.c virStringListLength: Ensure const correctness 2016-02-09 15:44:58 -05: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: zfs: flexible use of 'volmode' option 2016-02-04 03:16:50 +03:00
storage_backend_zfs.h storage: ZFS support 2014-08-12 19:40:20 +04:00
storage_backend.c Clean up usage of 'ret' variable 2016-02-11 08:05:16 +01:00
storage_backend.h storage: Handle readflags errors 2015-12-09 16:31:14 -05:00
storage_driver.c storageVolCreateXMLFrom: Check if backend knows how to createVol 2016-02-12 16:16:58 +01:00
storage_driver.h storage: Introduce virStoragePoolObjFindPoolByUUID 2015-11-12 06:30:32 -05:00