Added patch diskinfo-log-spew.patch.

This commit is contained in:
Ravindra Kumar 2020-02-07 13:52:43 -08:00
parent ef29a6759f
commit 37b8e5295a
2 changed files with 23 additions and 1 deletions

17
diskinfo-log-spew.patch Normal file
View File

@ -0,0 +1,17 @@
diff --git a/open-vm-tools/services/plugins/guestInfo/diskInfo.c b/open-vm-tools/services/plugins/guestInfo/diskInfo.c
index 878276ce7..032c09285 100644
--- a/open-vm-tools/services/plugins/guestInfo/diskInfo.c
+++ b/open-vm-tools/services/plugins/guestInfo/diskInfo.c
@@ -846,9 +846,9 @@ GuestInfoGetDiskDevice(const char *fsName,
*/
for (indx = 0; indx < partEntry->diskDevCnt; indx++) {
if (partEntry->diskDevNames[indx][0] == '\0') {
- g_warning("%s: Missing disk device name; VMDK mapping unavailable "
- "for \"%s\", fsName: \"%s\"\n", __FUNCTION__,
- partEntry->name, fsName);
+ g_debug("%s: Missing disk device name; VMDK mapping unavailable "
+ "for \"%s\", fsName: \"%s\"\n", __FUNCTION__,
+ partEntry->name, fsName);
partEntry->diskDevCnt = 0;
free(partEntry->diskDevNames);
partEntry->diskDevNames = NULL;

View File

@ -28,7 +28,7 @@
Name: open-vm-tools
Version: %{toolsversion}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
License: GPLv2
URL: https://github.com/vmware/%{name}
@ -48,6 +48,8 @@ ExclusiveArch: %{ix86} x86_64
# Reference https://github.com/vmware/open-vm-tools/commit/89c0d444567eb525e8d083fb564c46d68e96660c
Patch1: gcc9-static-inline.patch
Patch2: gcc10-warning.patch
# Reference https://github.com/vmware/open-vm-tools/commit/4ee0bd3c8ead89541ab7d196fb54e940e397420d
Patch3: diskinfo-log-spew.patch
BuildRequires: autoconf
BuildRequires: automake
@ -342,6 +344,9 @@ fi
%{_bindir}/vmware-vgauth-smoketest
%changelog
* Fri Feb 07 2020 Ravindra Kumar <ravindrakumar@vmware.com> - 11.0.5-2
- Added patch diskinfo-log-spew.patch.
* Tue Feb 04 2020 Ravindra Kumar <ravindrakumar@vmware.com> - 11.0.5-1
- Package new upstream version open-vm-tools-11.0.5-15389592.
- Removed vix-memleak.patch which is no longer needed.