Hi,
Well for the RDTSC undocumented vmx feature... it's a good question for why it isn't working.
There's a chance that some other setting in your vmx file is blocking it.
Like the method of virtualisation. Note that one of those (Binary Translation) is I think removed in Workstation 14, so if this feature was depended on that then you are out of luck with WS14.
As for the registry.. you can change the value in regedit, so that is scriptable.
Thanks for the pointer on main.c
That leads me to:
int vmware_devices(int writelogs) { HANDLE h; const int count = 2; string strs[count]; int res = FALSE, i = 0; char message[200]; strs[0] = "\\\\.\\HGFS"; strs[1] = "\\\\.\\vmci"; for (i=0; i < count; i++) { h = CreateFile(strs[i], GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (h != INVALID_HANDLE_VALUE) { snprintf(message, sizeof(message)-sizeof(message[0]), "VMWare traced using device %s", strs[i]); if (writelogs) write_log(message); res = TRUE; } } return res; }
so it looks like it is searching for HGFS and vmci.
You should be able to disable vmci in the vmx.
vmci0.present = "FALSE"
Probably you can do the same for HGFS there too.
Perhaps this setting?
isolation.tools.hgfs.disable = "TRUE"
Personally I would run pafish in a debugger for testing this part.
--
Wil