]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
sync with stable-10.3.x branch
authorOliver Kurth <okurth@vmware.com>
Fri, 13 Jul 2018 22:03:54 +0000 (15:03 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 13 Jul 2018 22:03:54 +0000 (15:03 -0700)
README.md
open-vm-tools/LICENSE
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CMonitorListener.h
open-vm-tools/lib/include/guestStats.h
open-vm-tools/services/plugins/guestInfo/guestInfoInt.h
open-vm-tools/services/plugins/guestInfo/perfMonLinux.c

index 7829a7902f39e33aad794daece6c46ec8ca4458d..bbe5386bc53175800eca629e3dee49bd0abd8fde 100644 (file)
--- a/README.md
+++ b/README.md
@@ -113,7 +113,6 @@ You can get involved today in several different ways:
   * 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.
index 972d3ca0d08d6ab477fa1a5dada9dfc23bdc1250..2fa926d4674c220087c739b9644a6c4d3b4430ba 100644 (file)
@@ -243,7 +243,7 @@ SECTION 1: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES
 ===================================================
 
 
---------------- 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).
 
index eef3fede6a3ce7f4ad1376d7eebc56ac34ddb238..398e32415aa014b55d9e0722a1d4bab06f086f4b 100644 (file)
@@ -23,9 +23,7 @@ public:
 
    bool preConfigureListener();
 
-   bool isListenerPreConfigured() {
-      return _listenerPreConfigured;
-   }
+   bool isListenerPreConfigured();
 
    bool followTunnel(std::string& listenerStartupType);
 
index 75f8c1ce0dcab996ace66601ed7eb0a33c4753e2..4f5fa6d8813c6cd4bb7c8e3dda4c2b6b7df8cd62 100644 (file)
@@ -52,7 +52,9 @@
 #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.
@@ -88,7 +93,7 @@ struct GuestMemInfo {
    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
index b586469b0d47efbbde447edcb196b6395d14bb35..70f4bc1c082d4c631f2be0683361260df09697ac 100644 (file)
 #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
index 2e78d892bfad2249727e922a471655c407a64476..b1323b7db41daca854f0b439b9ffa7b142756573 100644 (file)
@@ -894,7 +894,7 @@ GuestInfoCollect(GuestInfoCollector *collector)  // IN/OUT:
 
 static void
 GuestInfoLegacy(GuestInfoCollector *current,  // IN: current collection
-                GuestMemInfo *legacy)         // OUT: data filled out
+                GuestMemInfoLegacy *legacy)   // OUT: data filled out
 {
    GuestInfoStat *stat;
 
@@ -1288,7 +1288,7 @@ GuestInfoEncodeStats(GuestInfoCollector *current,   // IN: current collection
                      DynBuf *statBuf)               // IN/OUT: stats data
 {
    uint32 i;
-   GuestMemInfo legacy;
+   GuestMemInfoLegacy legacy;
    Bool emitNameSpace = TRUE;
 
    /* Provide legacy data for backwards compatibility */