]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove debug display of CPUID vendor string seen in VmCheck_IsVirtualWorld
authorOliver Kurth <okurth@vmware.com>
Thu, 10 May 2018 23:38:11 +0000 (16:38 -0700)
committerOliver Kurth <okurth@vmware.com>
Thu, 10 May 2018 23:38:11 +0000 (16:38 -0700)
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.

open-vm-tools/lib/vmCheck/vmcheck.c

index df23871fb842fc11d4e130a32ed070d2dc7da00e..c82ea49867280254e23cbfa8c2777900ab0bb22d 100644 (file)
@@ -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) {