[pve-devel] [PATCH 07/21] iscsidirect : add volume_snapshot
Alexandre Derumier
aderumier at odiso.com
Thu Sep 6 10:27:57 CEST 2012
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/Storage/ISCSIDirectPlugin.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index 82c6879..0267a22 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b/PVE/Storage/ISCSIDirectPlugin.pm
@@ -193,4 +193,9 @@ sub volume_resize {
die "volume resize is not possible on iscsi device";
}
+sub volume_snapshot {
+ my ($class, $scfg, $storeid, $volname, $snap, $running) = @_;
+ die "volume snapshot is not possible on iscsi device";
+}
+
1;
--
1.7.2.5
More information about the pve-devel
mailing list