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_backend_gluster.c Revert "Restore skipping of setting capacity" 2015-03-02 08:07:11 +01:00
storage_backend_gluster.h
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
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
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
storage_backend_zfs.c storage: zfs: flexible use of 'volmode' option 2016-02-04 03:16:50 +03:00
storage_backend_zfs.h
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