Repository: cloudstack
Updated Branches:
  refs/heads/master 1cb218ad6 -> 9bcf0e1bf


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/9bcf0e1b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9bcf0e1b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9bcf0e1b

Branch: refs/heads/master
Commit: 9bcf0e1bf608a47ae8345d5a0297de45edb8e1d6
Parents: 1cb218a
Author: Sanjay Tripathi <[email protected]>
Authored: Mon Oct 27 13:52:28 2014 +0530
Committer: Sanjay Tripathi <[email protected]>
Committed: Mon Oct 27 13:52:28 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/9bcf0e1b/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