From: yuchenlin <yuchen...@synology.com> When driver doesn't set fifo config, the vmsvga will fall back to std vga. However, we don't initialize vbe related port. It causes blank screen in qemu console.
This patch will fix "Guest has not initialized the display (yet)" when using qemu -device vmware-svga with ovmf. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: yuchenlin <yuchen...@synology.com> --- OvmfPkg/QemuVideoDxe/Driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c index 0dce80e59..255c01881 100644 --- a/OvmfPkg/QemuVideoDxe/Driver.c +++ b/OvmfPkg/QemuVideoDxe/Driver.c @@ -1067,8 +1067,7 @@ InitializeVmwareSvgaGraphicsMode ( VmwareSvgaWrite (Private, VmwareSvgaRegEnable, 1); - SetDefaultPalette (Private); - ClearScreen (Private); + InitializeBochsGraphicsMode (Private, ModeData); } EFI_STATUS -- 2.18.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel