[pve-devel] [PATCH 42/48] iscsi : add volume_rename

Alexandre Derumier aderumier at odiso.com
Tue Jan 29 17:14:24 CET 2013


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/Storage/ISCSIPlugin.pm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 29ecd0e..f1ac2d4 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage/ISCSIPlugin.pm
@@ -406,4 +406,9 @@ sub volume_clone {
     die "volume cloning is not possible on iscsi device";
 }
 
+sub volume_rename {
+    my ($class, $scfg, $storeid, $volname, $vmiddest, $type) = @_;
+    die "volume rename is not possible on iscsi device";
+}
+
 1;
-- 
1.7.10.4




More information about the pve-devel mailing list