]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes to common source files not applicable to open-vm-tools.
authorKaty Feng <fkaty@vmware.com>
Thu, 5 Oct 2023 17:35:26 +0000 (10:35 -0700)
committerKaty Feng <fkaty@vmware.com>
Thu, 5 Oct 2023 17:35:26 +0000 (10:35 -0700)
open-vm-tools/services/vmtoolsd/cmdLine.c
open-vm-tools/services/vmtoolsd/mainLoop.c

index e18715d7a5262020513ef1daafa03da6e78c13c2..c98ac1967ecb01b8efccaf03748bb626a1cbbaa3 100644 (file)
 #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.
@@ -140,7 +136,6 @@ ToolsCoreRunCommandFromFile(const gchar *option,
                   "Unable to send command from file to VMware hypervisor."));
    exit(1);
 }
-#endif //_ARM64_
 
 
 #if defined(G_PLATFORM_WIN32)
@@ -291,17 +286,12 @@ ToolsCore_ParseCommandLine(ToolsServiceState *state,
       { "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."),
index f6f595562b6cd255e53e0857a87d4c6c441a2fc4..7f54319e05ae9d0a9bc8e543ea4d03f6c1d93581 100644 (file)
@@ -1204,9 +1204,7 @@ ToolsCore_Setup(ToolsServiceState *state)
    /*
     * TODO: Build vmcheck library
     */
-#ifndef _ARM64_
    state->ctx.isVMware = VmCheck_IsVirtualWorld();
-#endif
    g_main_context_unref(gctx);
 
    g_type_init();