LOGLEVEL_VAR(grainTrack), \
LOGLEVEL_VAR(shim3D), \
LOGLEVEL_VAR(crc32), \
+ LOGLEVEL_VAR(vmkmgmtlib), \
/* end of list */
LOGLEVEL_EXTENSION_DECLARE(LOGLEVEL_USER);
#define WORKSTATION_VERSION "e.x.p"
#define WORKSTATION_RELEASE_DESCRIPTION ""
#define WORKSTATION_ENTERPRISE_VERSION "e.x.p"
+#define WSX_SERVER_VERSION_NUMBER "1.0.0"
+#define WSX_SERVER_VERSION "e.x.p"
#define ACE_MANAGEMENT_SERVER_VERSION "e.x.p"
#define MUI_VERSION "4.1.0"
#define CONSOLE_VERSION "4.1.0"
#define P2V_FILE_VERSION 3,0,0,0
#define PLAYER_VERSION_NUMBER "4.0.0" /* this version number should always match real Player version number */
#define PLAYER_VERSION "e.x.p"
-#define V2V_VERSION "e.x.p"
-#define V2V_FILE_VERSION 1,0,0,0
+
/*
* When updating FUSION_VERSION from e.x.p to GA, you will also need to update
* lastVersion{Major,Minor,Patch} in bora/scons/package/fusion/fusion.sc
# define PRODUCT_VERSION_NUMBER SDK_VERSION
#elif defined(VMX86_P2V)
# define PRODUCT_VERSION_NUMBER P2V_VERSION
-#elif defined(VMX86_V2V)
-# define PRODUCT_VERSION_NUMBER V2V_VERSION
#elif defined(VMX86_VIPERL)
# define PRODUCT_VERSION_NUMBER VIPERL_VERSION
#elif defined(VMX86_SYSIMAGE)
# define PRODUCT_LICENSE_VERSION "1.0"
# elif defined(VMX86_P2V)
# define PRODUCT_LICENSE_VERSION "1.0"
-# elif defined(VMX86_V2V)
-# define PRODUCT_LICENSE_VERSION "1.0"
# else
# define PRODUCT_LICENSE_VERSION "0.0"
# endif
uint64 offset,
uint64 size,
void **handle);
-void W32Util_CloseDismountHandle(void *handle);
+Bool W32Util_CloseDismountHandle(void *handle);
Bool W32Util_EnableSafePathSearching(void);
/* Named feature leaves */
+#define CPUID_FEATURE_INFORMATION 0x01
#define CPUID_MWAIT_FEATURES 5
+#define CPUID_HYPERVISOR_LEVEL_0 0x40000000
#define CPUID_SVM_FEATURES 0x8000000a
*
* UtilDoTildeSubst --
*
- * Given a string following a tilde, this routine returns the
- * corresponding home directory.
+ * Given a string following a tilde, this routine returns the
+ * corresponding home directory.
*
* Results:
- * The result is a pointer to a static string containing the home
- * directory in native format. The returned string is a newly
- * allocated string which may/must be freed by the caller
+ * A string containing the home directory in native format. The
+ * returned string is a newly allocated string which may/must be
+ * freed by the caller.
*
* Side effects:
- * Information may be left in resultPtr.
+ * None.
*
* Credit: derived from J.K.Ousterhout's Tcl
*----------------------------------------------------------------------
* The HOME environment variable is not always set on Mac OS.
* (was bug 841728)
*/
- pwd = Posix_Getpwuid(getuid());
- if (pwd == NULL) {
- Log("Could not get passwd for current user.\n");
+#if defined(VMX86_DEVEL)
+ /*
+ * Allow code to override the tilde expansion for things like unit tests.
+ */
+ str = Unicode_Duplicate(Posix_Getenv("VMWARE_HOMEDIR_OVERRIDE"));
+#endif // defined(VMX86_DEVEL)
+ if (str == NULL) {
+ pwd = Posix_Getpwuid(getuid());
+ if (pwd == NULL) {
+ Log("Could not get passwd for current user.\n");
+ }
}
#else // !defined(__APPLE__)
str = Unicode_Duplicate(Posix_Getenv("HOME"));