The helper will be used in various places that need to check that a disk
source struct is using FD passing.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
}
+bool
+virStorageSourceIsFD(const virStorageSource *src)
+{
+ return src->fdgroup;
+}
+
+
/**
* virStorageSourceIsEmpty:
*
bool
virStorageSourceIsLocalStorage(const virStorageSource *src);
+bool
+virStorageSourceIsFD(const virStorageSource *src);
+
bool
virStorageSourceIsEmpty(virStorageSource *src);
virStorageSourceIsBacking;
virStorageSourceIsBlockLocal;
virStorageSourceIsEmpty;
+virStorageSourceIsFD;
virStorageSourceIsLocalStorage;
virStorageSourceIsRelative;
virStorageSourceIsSameLocation;