this must be implemented in the Migration subclasses, and is a check
if all disks/mountpoints/etc. are marked as shared

this will be used for the migrate all call, where we can then migrate
the guests with only shared storage

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 src/PVE/AbstractConfig.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/PVE/AbstractConfig.pm b/src/PVE/AbstractConfig.pm
index ac12fd1..c246cc5 100644
--- a/src/PVE/AbstractConfig.pm
+++ b/src/PVE/AbstractConfig.pm
@@ -190,6 +190,12 @@ sub has_feature {
     die "implement me - abstract method\n";
 }
 
+# checks whether the all volumes are on a shared storage or not
+sub is_shared_only {
+    my ($class, $conf, $scfg) = @_;
+    die "implement me = abstract method\n";
+}
+
 # Internal snapshots
 
 # NOTE: Snapshot create/delete involves several non-atomic
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to