cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [1/2] git commit: updated refs/heads/master to a64f3f1
Date Tue, 28 Feb 2017 07:32:24 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 4f32febfe -> a64f3f1cc


Fix build failure on master


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f843fcb9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f843fcb9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f843fcb9

Branch: refs/heads/master
Commit: f843fcb969780e1368a060e26fe229f08a4ec92c
Parents: 4f32feb
Author: Koushik Das <koushik@apache.org>
Authored: Tue Feb 28 11:22:30 2017 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Tue Feb 28 11:22:30 2017 +0530

----------------------------------------------------------------------
 server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f843fcb9/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
index 8a1a18f..e4ee451 100644
--- a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
+++ b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
@@ -291,7 +291,6 @@ public class VMSnapshotManagerImpl extends MutualExclusiveIdsManagerBase
impleme
             throw new InvalidParameterValueException("Creating VM snapshot failed due to
VM:" + vmId + " is a system VM or does not exist");
         }
 
-        if (_snapshotDao.listByInstanceId(vmId, Snapshot.State.BackedUp).size() > 0 &&
! HypervisorType.KVM.equals(userVmVo.getHypervisorType())) {
         // VM snapshot with memory is not supported for VGPU Vms
         if (snapshotMemory && _serviceOfferingDetailsDao.findDetail(userVmVo.getServiceOfferingId(),
GPU.Keys.vgpuType.toString()) != null) {
             throw new InvalidParameterValueException("VM snapshot with MEMORY is not supported
for vGPU enabled VMs.");


Mime
View raw message