summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2026-08-14 13:44:45 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-07 11:28:48 +0000
commit2485aee40c6b8c8ea535500b56da684c9e63c178 (patch)
treed5628b9cf71a0e1b7905e80dd163e6a2fdea4f0b
parent11acd945a41153aa9d6027b42aff693f68abeb4e (diff)
downloadedk2-2485aee40c6b8c8ea535500b56da684c9e63c178.tar.gz
edk2-2485aee40c6b8c8ea535500b56da684c9e63c178.zip
OvmfPkg/PlatformBootManagerLib: register pci display for ConOut and ErrOut
This makes sure the set of devices for ConOut and ErrOut is identical. Without this things get a bit messy because ConSplitterDxe can not deal very well with the situation that a ConOut + ErrOut share some but not all devices (i.e. vga + serial for ConOut and serial only for ErrOut). It ends up running ConOut in 128x40 and ErrOut in 80x50 mode. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
index 3edb92fabc..aadbee1a43 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
@@ -783,6 +783,7 @@ PreparePciDisplayDevicePath (
DevicePath = GopDevicePath;
EfiBootManagerUpdateConsoleVariable (ConOut, DevicePath, NULL);
+ EfiBootManagerUpdateConsoleVariable (ErrOut, DevicePath, NULL);
return EFI_SUCCESS;
}