From c5fa7cc494930cd92a3da7872c1577410fb51103 Mon Sep 17 00:00:00 2001 From: Sanjay Tripathi Date: Mon, 27 Oct 2014 13:52:28 +0530 Subject: [PATCH] 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. --- server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java index f85f6c88f6f..46eb5da301c 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