]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Retire GuestApp_ControlRecord(). p4-sync-929606
authorVMware, Inc <>
Mon, 28 Sep 2009 20:31:04 +0000 (13:31 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 28 Sep 2009 20:31:04 +0000 (13:31 -0700)
The user-visible functionality was removed a while ago at PM's request,
time to kill the underlying code.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/guestApp/guestApp.c
open-vm-tools/lib/include/guestApp.h
open-vm-tools/lib/include/statelogger_backdoor_def.h [deleted file]

index 89c2f15b34ed4c12859915b9acef8d91349cd111..eb647bbcad43ec0d7dab8c769a10cb3bb1c6478d 100644 (file)
@@ -1788,34 +1788,6 @@ GuestApp_RpcSendOneCPName(char const *cmd,  // IN: RPCI command
    return TRUE;
 }
 
-
-/*
- *-----------------------------------------------------------------------------
- *
- * GuestApp_ControlRecord --
- *
- *    Start or stop recording process, flagged by command. 
- *    Command definition is in statelogger_backdoor_def.h.
- *
- * Results:
- *    TRUE on success and FALSE on failure.
- *
- * Side effects:
- *    Host VMware product starts or stops recording this vm.
- *
- *-----------------------------------------------------------------------------
- */
-
-Bool
-GuestApp_ControlRecord(int32 command) // IN: flag of starting or stopping recording
-{
-   Backdoor_proto bp;
-   bp.in.size = command;
-   bp.in.cx.halfs.low = BDOOR_CMD_STATELOGGER;
-   Backdoor(&bp);
-   return (bp.out.ax.halfs.low == 1);
-}
-
 #ifdef __cplusplus
 }
 #endif
index 3265f64f71916947910c45f81b277984342aa658..6307550454736935d2b481e9e0368bea37818948 100644 (file)
@@ -201,8 +201,6 @@ void GuestApp_SetSpawnEnviron(const char **spawnEnviron);
 Bool GuestApp_FindProgram(const char *program);
 #endif
 
-Bool
-GuestApp_ControlRecord(int32 command); //  IN
 #ifdef __cplusplus
 }
 #endif
diff --git a/open-vm-tools/lib/include/statelogger_backdoor_def.h b/open-vm-tools/lib/include/statelogger_backdoor_def.h
deleted file mode 100644 (file)
index 04a023c..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*********************************************************
- * Copyright (C) 2007 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
- * by the Free Software Foundation version 2.1 and no later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the Lesser GNU General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA.
- *
- *********************************************************/
-
-/*
- * statelogger_backdoor_def.h --
- *
- *      Backdoor command definitions for record/replay.
- */
-
-#ifndef _STATELOGGER_BACKDOOR_DEF_H_
-#define _STATELOGGER_BACKDOOR_DEF_H_
-
-#define INCLUDE_ALLOW_MODULE
-#define INCLUDE_ALLOW_USERLEVEL
-#define INCLUDE_ALLOW_VMMEXT
-#define INCLUDE_ALLOW_VMCORE
-#define INCLUDE_ALLOW_VMKERNEL
-#include "includeCheck.h"
-
-#define STATELOGGER_BKDR_VM_REPLAYABLE             0
-#define STATELOGGER_BKDR_START_LOGGING             1
-#define STATELOGGER_BKDR_STOP_LOGGING              2
-#define STATELOGGER_BKDR_LAST_SNAPSHOT_UID         3
-#define STATELOGGER_BKDR_GET_BRANCH_COUNT          4
-#define STATELOGGER_BKDR_START_REPLAYING         100
-
-#endif /* _STATELOGGER_BACKDOOR_DEF_H_ */