From: Oliver Kurth Date: Thu, 10 May 2018 23:38:11 +0000 (-0700) Subject: Remove debug display of CPUID vendor string seen in VmCheck_IsVirtualWorld X-Git-Tag: stable-10.3.0~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cac0f086ffcc00da73dd7dd80fef6956962f4dd6;p=thirdparty%2Fopen-vm-tools.git Remove debug display of CPUID vendor string seen in VmCheck_IsVirtualWorld The "Debug" message containing vendor string returned by the CPUID instruction will appear on STDERR for stand-alone programs such as vmware-checkvm. This unexpected output is at best noise and may adversely affect existing scripts. --- diff --git a/open-vm-tools/lib/vmCheck/vmcheck.c b/open-vm-tools/lib/vmCheck/vmcheck.c index df23871fb..c82ea4986 100644 --- a/open-vm-tools/lib/vmCheck/vmcheck.c +++ b/open-vm-tools/lib/vmCheck/vmcheck.c @@ -281,8 +281,6 @@ VmCheck_IsVirtualWorld(void) * already detected that we are on a VMware hypervisor. See PR 1035346. */ hypervisorSig = Hostinfo_HypervisorCPUIDSig(); - Debug("%s: HypervisorCPUIDSig = \"%s\".\n", __FUNCTION__, - hypervisorSig == NULL ? "NULL" : hypervisorSig); if (hypervisorSig == NULL || Str_Strcmp(hypervisorSig, CPUID_VMWARE_HYPERVISOR_VENDOR_STRING) != 0) { if (hypervisorSig != NULL) {