From be8833c9ef2d6c7793d166ac8e0f06cbe529b89e Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 14 Aug 2026 13:44:45 +0200 Subject: [PATCH] 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 --- OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 1 + 1 file changed, 1 insertion(+) 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; }