/*********************************************************
- * Copyright (C) 2008-2021 VMware, Inc. All rights reserved.
+ * Copyright (c) 2008-2021,2023 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
#include "vmware/tools/guestrpc.h"
#include "vm_version.h"
+/*
+ * TODO: Build vmcheck library
+ */
+#ifndef _ARM64_
/**
* Runs the given Tools RPC command, printing the result to the terminal and
* exiting the application afterwards.
"Unable to send command from file to VMware hypervisor."));
exit(1);
}
+#endif //_ARM64_
#if defined(G_PLATFORM_WIN32)
{ "plugin-path", 'p', 0, G_OPTION_ARG_FILENAME, &state->pluginPath,
SU_(cmdline.pluginpath, "Path to the plugin directory."),
SU_(cmdline.path, "path") },
+/*
+ * TODO: Build vmcheck library
+ */
+#ifndef _ARM64_
{ "cmd", '\0', 0, G_OPTION_ARG_CALLBACK, ToolsCoreRunCommand,
SU_(cmdline.rpc, "Sends an RPC command to the host and exits."),
SU_(cmdline.rpc.command, "command") },
{ "cmdfile", '\0', 0, G_OPTION_ARG_CALLBACK, ToolsCoreRunCommandFromFile,
SU_(cmdline.cmdfile, "Sends an RPC command from a file to the host and exits."),
SU_(cmdline.cmdfile.command, "command file") },
+#endif //_ARM64+
#if defined(G_PLATFORM_WIN32)
{ "dump-state", 's', 0, G_OPTION_ARG_NONE, &dumpState,
SU_(cmdline.state, "Dumps the internal state of a running service instance to the logs."),
/*********************************************************
- * Copyright (c) 2008-2022 VMware, Inc. All rights reserved.
+ * Copyright (c) 2008-2023 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
#else
state->ctx.mainLoop = g_main_loop_new(gctx, FALSE);
#endif
+ /*
+ * TODO: Build vmcheck library
+ */
+#ifndef _ARM64_
state->ctx.isVMware = VmCheck_IsVirtualWorld();
+#endif
g_main_context_unref(gctx);
g_type_init();