]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/Plugin.pm
implement map_volume and unmap_volume
[pve-storage.git] / PVE / Storage / Plugin.pm
index 8ae78e9e9fb09a6cda32edbf538be3ae9eef048b..e0c2a4ec95484f386783544b8ceab9cc6826aeba 100644 (file)
@@ -949,6 +949,18 @@ sub deactivate_storage {
     # do nothing by default
 }
 
+sub map_volume {
+    my ($class, $storeid, $scfg, $volname, $snapname) = @_;
+
+    return undef;
+}
+
+sub unmap_volume {
+    my ($class, $storeid, $scfg, $volname, $snapname) = @_;
+
+    return 1;
+}
+
 sub activate_volume {
     my ($class, $storeid, $scfg, $volname, $snapname, $cache) = @_;