Blame SOURCES/0018-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-QemuVide.patch

5c789a
From 7eb3be1d4ccafc26c11fe5afb95cc12b250ce6f0 Mon Sep 17 00:00:00 2001
c54fd1
From: Paolo Bonzini <pbonzini@redhat.com>
c54fd1
Date: Tue, 21 Nov 2017 00:57:46 +0100
5c789a
Subject: OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in QemuVideoDxe (RH only)
c54fd1
c54fd1
Message-id: <20171120235748.29669-6-pbonzini@redhat.com>
c54fd1
Patchwork-id: 77761
c54fd1
O-Subject:  [PATCH 5/7] OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in
c54fd1
	QemuVideoDxe (RH only)
c54fd1
Bugzilla: 1488247
c54fd1
Acked-by: Laszlo Ersek <lersek@redhat.com>
c54fd1
Acked-by: Thomas Huth <thuth@redhat.com>
c54fd1
c54fd1
From: Laszlo Ersek <lersek@redhat.com>
c54fd1
c54fd1
In commit 5b2291f9567a ("OvmfPkg: QemuVideoDxe uses
c54fd1
MdeModulePkg/FrameBufferLib"), QemuVideoDxe was rebased to
c54fd1
FrameBufferBltLib.
c54fd1
c54fd1
The FrameBufferBltLib instance added in commit b1ca386074bd
c54fd1
("MdeModulePkg: Add FrameBufferBltLib library instance") logs many
c54fd1
messages on the VERBOSE level; for example, a normal boot with OVMF can
c54fd1
produce 500+ "VideoFill" messages, dependent on the progress bar, when the
c54fd1
VERBOSE bit is set in PcdDebugPrintErrorLevel.
c54fd1
c54fd1
QemuVideoDxe itself doesn't log anything at the VERBOSE level, so we lose
c54fd1
none of its messages this way.
c54fd1
5c789a
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
5c789a
5c789a
- no changes
5c789a
c54fd1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
c54fd1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
c54fd1
(this patch was previously applied as commit 9b0d031dee7e823f6717bab73e422fbc6f0a6c52)
5c789a
(cherry picked from commit 9122d5f2e8d8d289064d1e1700cb61964d9931f3)
c54fd1
---
c54fd1
 OvmfPkg/OvmfPkgIa32.dsc    | 5 ++++-
c54fd1
 OvmfPkg/OvmfPkgIa32X64.dsc | 5 ++++-
c54fd1
 OvmfPkg/OvmfPkgX64.dsc     | 5 ++++-
c54fd1
 3 files changed, 12 insertions(+), 3 deletions(-)
c54fd1
c54fd1
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
5c789a
index 57bf021..2b2e874 100644
c54fd1
--- a/OvmfPkg/OvmfPkgIa32.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgIa32.dsc
5c789a
@@ -744,7 +744,10 @@
c54fd1
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
c54fd1
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
c54fd1
 
c54fd1
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
c54fd1
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
c54fd1
+    <PcdsFixedAtBuild>
c54fd1
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c54fd1
+  }
c54fd1
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
c54fd1
 
c54fd1
   #
c54fd1
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
5c789a
index 0e87c8f..892cc5e 100644
c54fd1
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
5c789a
@@ -753,7 +753,10 @@
c54fd1
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
c54fd1
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
c54fd1
 
c54fd1
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
c54fd1
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
c54fd1
+    <PcdsFixedAtBuild>
c54fd1
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c54fd1
+  }
c54fd1
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
c54fd1
 
c54fd1
   #
c54fd1
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
5c789a
index 38ba204..e7cb582 100644
c54fd1
--- a/OvmfPkg/OvmfPkgX64.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgX64.dsc
5c789a
@@ -751,7 +751,10 @@
c54fd1
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
c54fd1
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
c54fd1
 
c54fd1
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
c54fd1
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
c54fd1
+    <PcdsFixedAtBuild>
c54fd1
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
c54fd1
+  }
c54fd1
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
c54fd1
 
c54fd1
   #
c54fd1
-- 
c54fd1
1.8.3.1
c54fd1