KVM storage adaptors (the agent-side code for a storage plugin) should be detected at runtime, rather than relying on source code modifications to add new adaptors.
...
A new annotation "StorageAdaptorInfo" will allow the storage developer to identify a new StorageAdaptor implementation. Then the jar can just be placed in the classpath andand we can find it via reflection. The StorageAdaptorInfo annotation can house the properties required for the adaptor:
@StorageAdaptorInfo( storagePoolType=StoragePoolType.XYZ )
...