]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/ISCSIDirectPlugin.pm
add stubs for create_base and cone_image
[pve-storage.git] / PVE / Storage / ISCSIDirectPlugin.pm
index b648fd513561296303b61a49f82a578af008bfae..545760114ab3f46e3b019104306d71205d83faf2 100644 (file)
@@ -97,6 +97,17 @@ sub path {
     return ($path, $vmid, $vtype);
 }
 
+sub create_base {
+    my ($class, $storeid, $scfg, $volname) = @_;
+
+    die "can't create base images in iscsi storage\n";
+}
+
+sub clone_image {
+    my ($class, $scfg, $storeid, $volname, $vmid) = @_;
+
+    die "can't clone images in iscsi storage\n";
+}
 
 sub alloc_image {
     my ($class, $storeid, $scfg, $vmid, $fmt, $name, $size) = @_;