Repository: cloudstack
Updated Branches:
  refs/heads/4.5 88561e154 -> c5fa7cc49


Correct the error message when tried created VM Snapshot with memory on a vGPU 
Instance.
"VM snapshot with MEMORY is not supported for VGU enabled VMs."
Change VGU to vGPU.


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

Branch: refs/heads/4.5
Commit: c5fa7cc494930cd92a3da7872c1577410fb51103
Parents: 88561e1
Author: Sanjay Tripathi <[email protected]>
Authored: Mon Oct 27 13:52:28 2014 +0530
Committer: Sanjay Tripathi <[email protected]>
Committed: Mon Oct 27 13:59:59 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c5fa7cc4/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 f85f6c8..46eb5da 100644
--- a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
+++ b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
@@ -263,7 +263,7 @@ public class VMSnapshotManagerImpl extends ManagerBase 
implements VMSnapshotMana
 
         // 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 VGU enabled VMs.");
+            throw new InvalidParameterValueException("VM snapshot with MEMORY 
is not supported for vGPU enabled VMs.");
         }
 
         // check hypervisor capabilities

Reply via email to