* Oracle Linux 7 and later
* Fedora 19 and later releases
* openSUSE 11.x and later releases
- * FreeBSD 10.x and later releases
## Will external developers be allowed to become committers to the project?
Yes. Initially, VMware engineers will be the only committers. As we roll out our development infrastructure, we will be looking to add external committers to the project as well.
===================================================
---------------- SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES ----------
+--------------- SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES ----------
BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES are applicable to the following component(s).
bool preConfigureListener();
- bool isListenerPreConfigured() {
- return _listenerPreConfigured;
- }
+ bool isListenerPreConfigured();
bool followTunnel(std::string& listenerStartupType);
#define GUESTMEMINFO_V5 5
/*
- * Flags for legacy GuestMemInfo
+ * Flags for GuestMemInfoLegacy
+ *
+ * !!! DON'T ADD/CHANGE FLAGS !!!
*
* This is deprecated. All new values are returned via a GuestStat list.
*/
#define MEMINFO_HUGEPAGESTOTAL (1 << 10)
#define MEMINFO_DEPRECATED10 (1 << 11)
#define MEMINFO_DEPRECATED11 (1 << 12)
+#define MEMINFO_MEMNEEDED (1 << 13)
/*
* Legacy GuestMemInfo structure.
*
+ * !!! DON'T CHANGE IT !!!
+ *
* It should stay the same to ensure binary compatibility.
*/
typedef
#include "vmware_pack_begin.h"
-struct GuestMemInfo {
+struct GuestMemInfoLegacy {
uint32 version; ///< MemInfo structure version.
uint32 flags; ///< Indicates which stats are valid.
uint64 memTotal; ///< Total physical memory in Kb.
uint64 deprecated2[2]; ///< No longer used.
}
#include "vmware_pack_end.h"
-GuestMemInfo;
+GuestMemInfoLegacy;
/*
* A stat begins with a header. The header has a mask which says what data
#include "nicInfo.h"
#include "dynbuf.h"
-/*
- * Internal stat IDs used by intermediate stats collected
- * for computing derived stats.
- *
- * NOTE: These IDs should not be published to the host as
- * these may change.
- */
-#define GuestStatID_SwapSpaceUsed ((GuestStatToolsID) (GuestStatID_Max + 0))
-#define GuestStatID_SwapFilesCurrent ((GuestStatToolsID) (GuestStatID_Max + 1))
-#define GuestStatID_SwapFilesMax ((GuestStatToolsID) (GuestStatID_Max + 2))
-#define GuestStatID_Linux_LowWaterMark ((GuestStatToolsID) (GuestStatID_Max + 3))
-#define GuestStatID_Linux_MemAvailable ((GuestStatToolsID) (GuestStatID_Max + 4))
-#define GuestStatID_Linux_MemBuffers ((GuestStatToolsID) (GuestStatID_Max + 5))
-#define GuestStatID_Linux_MemCached ((GuestStatToolsID) (GuestStatID_Max + 6))
-#define GuestStatID_Linux_MemInactiveFile ((GuestStatToolsID) (GuestStatID_Max + 7))
-#define GuestStatID_Linux_MemSlabReclaim ((GuestStatToolsID) (GuestStatID_Max + 8))
-#define GuestStatID_Linux_MemTotal ((GuestStatToolsID) (GuestStatID_Max + 9))
-#define GuestStatID_Linux_Internal_Max ((GuestStatToolsID) (GuestStatID_Max + 10))
-
extern int guestInfoPollInterval;
Bool
static void
GuestInfoLegacy(GuestInfoCollector *current, // IN: current collection
- GuestMemInfo *legacy) // OUT: data filled out
+ GuestMemInfoLegacy *legacy) // OUT: data filled out
{
GuestInfoStat *stat;
DynBuf *statBuf) // IN/OUT: stats data
{
uint32 i;
- GuestMemInfo legacy;
+ GuestMemInfoLegacy legacy;
Bool emitNameSpace = TRUE;
/* Provide legacy data for backwards compatibility */