https://bugzilla.redhat.com/show_bug.cgi?id=1233129
Refactor the virStoragePoolSourceFindDuplicateDevices code a bit to
make it a bit easier to read, then allow pool def type's that use a
pool source device to define the source device to perform cross pool
source device conflicts.
John Ferlan (4):
conf: Introduce virStoragePoolObjSourceMatchTypeDIR
conf: Introduce virStoragePoolObjSourceMatchTypeISCSI
conf: Introduce virStoragePoolObjSourceMatchTypeDEVICE
conf: Check for storage conflicts across pool types
src/conf/virstorageobj.c | 241 +++++++++++++++++++++++++++--------------------
1 file changed, 140 insertions(+), 101 deletions(-)