]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Removing unnecessary code from rpc header file.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 11 Sep 2020 19:11:02 +0000 (12:11 -0700)
Several macros related to VMDB are no longer needed in the guestrpc
header file.  This change deletes those unused macros.

open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h

index dfef1d03c0def06a4f44219df171beb8ffe531e3..f547715be0788be95a3b4b24a553459bc38b32cc 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2007-2017 VMware, Inc. All rights reserved.
+ * Copyright (C) 2007-2017,2020 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
 #ifndef _VMBACKUP_DEF_H_
 #define _VMBACKUP_DEF_H_
 
-/*
- * Limit messages to a max of 1024 bytes to avoid messages of arbitrary
- * sizes being set in VMDB.
- */
-#define VMBACKUP_MAX_MSG_SIZE             1024
-
-/*
- * Maximum number of events kept in memory in VMDB and hostd.
- */
-#define VMBACKUP_MAX_EVENTS               10
-
 /*
  * How often (in milliseconds) does the guest send keep alive messages
  * to the host during long operations.
  */
 #define VMBACKUP_KEEP_ALIVE_PERIOD        5000
 
-/* VMDB paths used for communication with the VMX/guest OS. */
-#define VMBACKUP_VMDB_PATH                "vmx/guestTools/backupProtocol/"
-#define VMBACKUP_VMDB_EVENT_PATH          VMBACKUP_VMDB_PATH"event"
-#define VMBACKUP_VMDB_REQUEST_PATH        VMBACKUP_VMDB_PATH"request"
-#define VMBACKUP_VMDB_RESPONSE_PATH       VMBACKUP_VMDB_PATH"response"
-
 /* These are RPC messages used between the VMX and the Tools. */
 #define VMBACKUP_PROTOCOL_PREFIX          "vmbackup."
 #define VMBACKUP_PROTOCOL_START           VMBACKUP_PROTOCOL_PREFIX"start"