[pve-devel] [PATCH] add krbd support to online snapshot

Wolfgang Link w.link at proxmox.com
Tue Sep 8 12:23:54 CEST 2015


---
 PVE/QemuServer.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index fedb58e..50b3dd6 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -5881,7 +5881,8 @@ sub do_snapshots_with_qemu {
 
     my $storage_name = PVE::Storage::parse_volume_id($volid);
 
-    if ($qemu_snap_storage->{$storecfg->{ids}->{$storage_name}->{type}} ){
+    if ($qemu_snap_storage->{$storecfg->{ids}->{$storage_name}->{type}} 
+	&& !$storecfg->{ids}->{$storage_name}->{krbd}){
 	return 1;
     }
 
-- 
2.1.4





More information about the pve-devel mailing list