From: John Wolfe Date: Fri, 11 Sep 2020 19:11:02 +0000 (-0700) Subject: Removing unnecessary code from rpc header file. X-Git-Tag: stable-11.2.0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31542efae6854d989d51b5d4c3333d3baa43dfc8;p=thirdparty%2Fopen-vm-tools.git Removing unnecessary code from rpc header file. Several macros related to VMDB are no longer needed in the guestrpc header file. This change deletes those unused macros. --- diff --git a/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h b/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h index dfef1d03c..f547715be 100644 --- a/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h +++ b/open-vm-tools/lib/include/vmware/guestrpc/vmbackup.h @@ -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 @@ -24,29 +24,12 @@ #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"