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

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