/*********************************************************
- * Copyright (C) 2019-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2019-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* Default value for CONFNAME_APPINFO_DISABLED setting in
* tools configuration file.
*
- * FALSE will enable the plugin. TRUE will disable the plugin.
+ * FALSE will activate the plugin. TRUE will deactivate the plugin.
*/
-#define APP_INFO_CONF_DEFAULT_DISABLED_VALUE FALSE
+#define APP_INFO_CONF_DEFAULT_DEACTIVATED_VALUE FALSE
/**
* Default value for CONFNAME_APPINFO_REMOVE_DUPLICATES setting in
* Start, stop, reconfigure a AppInfo Gather poll loop.
*
* This function is responsible for creating, manipulating, and resetting a
- * AppInfo Gather loop timeout source. The poll loop will be disabled if
+ * AppInfo Gather loop timeout source. The poll loop will be deactivated if
* the poll interval is 0.
*
* @param[in] ctx The application context.
* @param[in] pollInterval Poll interval in seconds. A value of 0 will
- * disable the loop.
+ * deactivate the loop.
*
*****************************************************************************
*/
AppInfoGather, ctx, NULL);
g_source_unref(gAppInfoTimeoutSource);
} else if (gAppInfoPollInterval > 0) {
- g_info("%s: Poll loop for %s disabled.\n",
+ g_info("%s: Poll loop for %s deactivated.\n",
__FUNCTION__, CONFNAME_APPINFO_POLLINTERVAL);
SetGuestInfo(ctx, APP_INFO_GUESTVAR_KEY, "");
}
TweakGatherLoop(ToolsAppCtx *ctx, // IN
gboolean force) // IN
{
- gboolean disabled =
+ gboolean deactivated =
VMTools_ConfigGetBoolean(ctx->config,
CONFGROUPNAME_APPINFO,
CONFNAME_APPINFO_DISABLED,
- APP_INFO_CONF_DEFAULT_DISABLED_VALUE);
+ APP_INFO_CONF_DEFAULT_DEACTIVATED_VALUE);
gint pollInterval;
- if (gAppInfoEnabledInHost && !disabled) {
+ if (gAppInfoEnabledInHost && !deactivated) {
pollInterval = VMTools_ConfigGetInteger(ctx->config,
CONFGROUPNAME_APPINFO,
CONFNAME_APPINFO_POLLINTERVAL,
if (retVal) {
g_info("%s: State of AppInfo is changed to '%s' at host side.\n",
- __FUNCTION__, gAppInfoEnabledInHost ? "enabled" : "disabled");
+ __FUNCTION__, gAppInfoEnabledInHost ? "enabled" : "deactivated" );
+
TweakGatherLoop(ctx, TRUE);
}
}
{
/*
* gAppInfoTimeoutSource is used to figure out if the poll loop is
- * enabled or not. If the poll loop is disabled, then
+ * enabled or not. If the poll loop is deactivated, then
* gAppInfoTimeoutSource will be set to NULL.
*/
if (gAppInfoTimeoutSource != NULL) {
gAppInfoEnabledInHost = TRUE;
TweakGatherLoop(ctx, TRUE);
} else {
- g_debug("%s: Poll loop disabled. Ignoring.\n", __FUNCTION__);
+ g_debug("%s: Poll loop deactivated. Ignoring.\n", __FUNCTION__);
}
}
}
};
/*
- * Return NULL to disable the plugin if not running in a VMware VM.
+ * Return NULL to deactivate the plugin if not running in a VMware VM.
*/
if (!ctx->isVMware) {
g_info("%s: Not running in a VMware VM.\n", __FUNCTION__);
}
/*
- * Return NULL to disable the plugin if not running in vmsvc daemon.
+ * Return NULL to deactivate the plugin if not running in vmsvc daemon.
*/
if (!TOOLS_IS_MAIN_SERVICE(ctx)) {
g_info("%s: Not running in vmsvc daemon: container name='%s'.\n",
/*********************************************************
- * Copyright (C) 2019-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2019-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*
* IsFeatureDisabled --
*
- * Check if guest admin/root has disabled GuestStore access.
+ * Check if guest admin/root has deactivated GuestStore access.
*
* Results:
* Return the configured boolean value, default is FALSE.
ASSERT(!pluginData.guestStoreAccessEnabled);
if (!CreateVmxListenSocket() || !CreateClientListenSocket()) {
- g_warning("GuestStore access is disabled "
+ g_warning("GuestStore access is deactivated "
"due to initialization error.\n");
GuestStoreAccessDisable();
return;
*
* GuestStoreShutdown --
*
- * Disable GuestStore access before shutdown.
+ * Deactivate GuestStore access before shutdown.
*
* Results:
* None
if (strcmp(value, "1") == 0 &&
!pluginData.guestStoreAccessEnabled) {
if (CheckAndUpdateFeatureDisabled()) {
- g_info("GuestStore access is disabled on guest side.\n");
+ g_info("GuestStore access is deactivated on guest side.\n");
} else {
GuestStoreAccessEnable();
retVal = TRUE;
};
/*
- * Return NULL to disable the plugin if not running in vmsvc daemon.
+ * Return NULL to deactivate the plugin if not running in vmsvc daemon.
*/
if (!TOOLS_IS_MAIN_SERVICE(ctx)) {
g_info("Not running in vmsvc daemon: container name='%s'.\n",
}
/*
- * Return NULL to disable the plugin if not running in a VMware VM.
+ * Return NULL to deactivate the plugin if not running in a VMware VM.
*/
if (!ctx->isVMware) {
g_info("Not running in a VMware VM.\n");
}
/*
- * Return NULL to disable the plugin if VM is not running on ESX host.
+ * Return NULL to deactivate the plugin if VM is not running on ESX host.
*/
if (!VmCheck_GetVersion(&vmxVersion, &vmxType) ||
vmxType != VMX_TYPE_SCALABLE_SERVER) {
/*********************************************************
- * Copyright (C) 2010-2017,2019-2021 VMware, Inc. All rights reserved.
+ * Copyright (C) 2010-2017,2019-2022 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*
* RandR12CrtcDisable --
*
- * Disable crtcs and associated outputs before an fb size change.
- * The function disables crtcs and associated outputs
+ * Deactivate crtcs and associated outputs before an fb size change.
+ * The function deactivates crtcs and associated outputs
* 1) whose scanout area is too big for the new fb size.
- * 2) that are going to be disabled with the new topology.
+ * 2) that are going to be deactivated with the new topology.
*
* Results:
* TRUE on success, FALSE on failure.
*
* Side effects:
* The RandR12info context is modified.
- * The current mode of disabled outputs is set to "None".
+ * The current mode of deactivated outputs is set to "None".
*
*-----------------------------------------------------------------------------
*/