summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Chitte <schitte@nvidia.com>2017-02-09 07:11:47 -0800
committerAaron Plattner <aplattner@nvidia.com>2017-04-06 09:54:45 -0700
commit24a71856fc5482e244c0db828af1a8024d31f661 (patch)
treecd03ea829cdd61864a9146663db4f207e662e189
parentd753454dfffeb0d2106aa9764982cdae55fc0b2c (diff)
Updated license message and enum to include latest info
-rw-r--r--src/gtk+-2.x/ctkgridlicense.c30
1 files changed, 22 insertions, 8 deletions
diff --git a/src/gtk+-2.x/ctkgridlicense.c b/src/gtk+-2.x/ctkgridlicense.c
index 9f83091..e5911f7 100644
--- a/src/gtk+-2.x/ctkgridlicense.c
+++ b/src/gtk+-2.x/ctkgridlicense.c
@@ -676,10 +676,6 @@ static gboolean update_manage_grid_license_info(gpointer user_data)
licenseState = "Your system is licensed for GRID Virtual "
"Workstation Edition.";
break;
- case NV_GRID_UNLICENSED:
- licenseState = "Your system does not have a valid GPU license.\n"
- "Enter license server details and apply.";
- break;
case NV_GRID_LICENSE_REQUESTING_VGPU:
licenseState = "Acquiring license for GRID vGPU Edition.\n"
"Your system does not have a valid GRID vGPU license.";
@@ -687,17 +683,35 @@ static gboolean update_manage_grid_license_info(gpointer user_data)
case NV_GRID_LICENSE_REQUESTING_GVW:
licenseState = "Acquiring license for GRID Virtual Workstation "
"Edition.\n"
- "Your system is currently running on Tesla (unlicensed).";
+ "Your system does not have a valid GRID Virtual "
+ "Workstation license.";
break;
case NV_GRID_LICENSE_FAILED_VGPU:
licenseState = "Failed to acquire NVIDIA vGPU license.";
break;
case NV_GRID_LICENSE_FAILED_GVW:
- licenseState = "Failed to acquire NVIDIA license.\n"
- "Your system is currently running on Tesla (unlicensed).";
+ licenseState = "Failed to acquire NVIDIA GRID Virtual "
+ "Workstation license.";
+ break;
+ case NV_GRID_LICENSE_EXPIRED_VGPU:
+ licenseState = "Failed to renew license for GRID vGPU Edition.\n"
+ "Your system does not have a valid GRID vGPU license.";
break;
+ case NV_GRID_LICENSE_EXPIRED_GVW:
+ licenseState = "Failed to renew license for GRID Virtual "
+ "Workstation Edition.\n"
+ "Your system is currently running GRID Virtual "
+ "Workstation (unlicensed).";
+ break;
+ case NV_GRID_LICENSE_RESTART_REQUIRED:
+ licenseState = "Restart your system for Tesla Edition.\n"
+ "Your system is currently running GRID Virtual "
+ "Workstation Edition.";
+ break;
+ case NV_GRID_UNLICENSED:
default:
- licenseState = "Unlicensed";
+ licenseState = "Your system does not have a valid GPU license.\n"
+ "Enter license server details and apply.";
break;
}