slavkap commented on a change in pull request #6007:
URL: https://github.com/apache/cloudstack/pull/6007#discussion_r813646755
##########
File path:
engine/api/src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreDriver.java
##########
@@ -103,4 +103,28 @@
* returns true if the host can access the storage pool
*/
boolean canHostAccessStoragePool(Host host, StoragePool pool);
+
+ /**
+ * intended for storage pools
+ * returns true if additional VM info is needed
+ */
+ boolean vmInfoNeeded();
+
+ /**
+ * intended for storage pools
+ * provide additional info for a VM
Review comment:
@GutoVeronezi, when a volume is attached/detached, we provide to
StorPool the UUID of the VM. In this case, we know if the volume is attached to
any VM.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]