The first half of the series introduces the PreferredResolution UEFI
global variable, under a new variable GUID, allowing the guest
administrator to configure the GOP resolution. This half is independent
of QemuVideoDxe.
The second half adds several QXL video resolutions to QemuVideoDxe, up
to 8192x4320.
The series is mainly motivated by the Windows 2012 R2 / Windows 8 guest:
the QXL WDDM driver (0.3) depends on VGABIOS services and doesn't work
with OVMF. The series allows the guest admin to configure the GOP
through the PreferredResolution global variable, and Windows 2012 R2
simply inherits the GOP resolution and framebuffer.
Tested:
- Fedora 19 guest, Cirrus card, efifb driver.
Only the first half is relevant for this test case; one of the
existent three modes (640x480, 800x600, 1024x768) can be selected.
- Windows 2012 R2 guest, QXL card, stock display driver.
Tested resolutions include 640x480, 800x600, 1024x768, 1280x960,
2000x2000.
Hints for configuring the new global variable and for changing the QXL
framebuffer size are in the commit messages.
Please test and/or review.
Thanks!
Laszlo Ersek (6):
OvmfPkg: non-null PcdLib instance for GraphicsConsoleDxe
OvmfPkg: introduce gOvmfSystemConfigGuid
OvmfPkg: BDS: set preferred video resolution from UEFI variable
OvmfPkg: QemuVideoDxe: clarify QEMU_VIDEO_MODE_DATA.ModeNumber
OvmfPkg: QemuVideoDxe: filter BOCHS modes vs. available frame buffer
size
OvmfPkg: QemuVideoDxe: add further BOCHS modes
OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 5 +
OvmfPkg/Include/Guid/OvmfSystemConfig.h | 24 +++++
OvmfPkg/QemuVideoDxe/Qemu.h | 11 ++-
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 60 ++++++++++++
OvmfPkg/QemuVideoDxe/Gop.c | 4 +-
OvmfPkg/QemuVideoDxe/Initialize.c | 106 +++++++++++++++++-----
OvmfPkg/OvmfPkg.dec | 1 +
OvmfPkg/OvmfPkgIa32.dsc | 7 +-
OvmfPkg/OvmfPkgIa32X64.dsc | 7 +-
OvmfPkg/OvmfPkgX64.dsc | 7 +-
10 files changed, 203 insertions(+), 29 deletions(-)
create mode 100644 OvmfPkg/Include/Guid/OvmfSystemConfig.h
--
1.8.3.1
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel