From: John Wolfe Date: Wed, 21 Sep 2022 17:53:28 +0000 (-0700) Subject: Change to common source file not applicable to open-vm-tools. X-Git-Tag: stable-12.2.0~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e873df9b63d4b16239f15dd0a4abfc7c1375e936;p=thirdparty%2Fopen-vm-tools.git Change to common source file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/services/plugins/guestInfo/guestInfoServer.c b/open-vm-tools/services/plugins/guestInfo/guestInfoServer.c index edd63219c..321dc9d5e 100644 --- a/open-vm-tools/services/plugins/guestInfo/guestInfoServer.c +++ b/open-vm-tools/services/plugins/guestInfo/guestInfoServer.c @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 1998-2021 VMware, Inc. All rights reserved. + * Copyright (C) 1998-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 @@ -2171,7 +2171,7 @@ GuestInfoServerConfReload(gpointer src, * ****************************************************************************** */ - +#if !defined(USERWORLD) static void GuestInfoServerIOFreeze(gpointer src, ToolsAppCtx *ctx, @@ -2180,7 +2180,7 @@ GuestInfoServerIOFreeze(gpointer src, { TweakGatherLoops(ctx, !freeze); } - +#endif /* ****************************************************************************** @@ -2371,7 +2371,9 @@ ToolsOnLoad(ToolsAppCtx *ctx) ToolsPluginSignalCb sigs[] = { { TOOLS_CORE_SIG_CAPABILITIES, GuestInfoServerSendCaps, NULL }, { TOOLS_CORE_SIG_CONF_RELOAD, GuestInfoServerConfReload, NULL }, +#if !defined(USERWORLD) { TOOLS_CORE_SIG_IO_FREEZE, GuestInfoServerIOFreeze, NULL }, +#endif { TOOLS_CORE_SIG_RESET, GuestInfoServerReset, NULL }, { TOOLS_CORE_SIG_SET_OPTION, GuestInfoServerSetOption, NULL }, { TOOLS_CORE_SIG_SHUTDOWN, GuestInfoServerShutdown, NULL }