OvmfPkg/QemuFwCfgLib: do not log cache lookups

Logging each and every successful cache lookup is not very useful and
floods the log.

The much better approach is to log everything which gets added to the
cache, so the logfile can tell you what is in the cache with /much/ less
log lines.  The cache initialization code already does that.  So drop
the lookup message without any replacement.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2025-12-10 15:49:07 +01:00 committed by mergify[bot]
parent 5ac93b2227
commit 4c8ba6aed8

View file

@ -171,6 +171,5 @@ InternalQemuFwCfgCacheReadBytes (
CopyMem (Buffer, (UINT8 *)CachedItem + sizeof (FW_CFG_CACHED_ITEM) + QemuFwCfgWorkArea->Offset, ReadSize);
QemuFwCfgWorkArea->Offset += (UINT32)ReadSize;
DEBUG ((DEBUG_VERBOSE, "%a: found Item 0x%x in FwCfg Cache\n", __func__, QemuFwCfgWorkArea->FwCfgItem));
return RETURN_SUCCESS;
}