Hello,
The following series contains some fixes and improvements related to
graphics usage when booting Xen.
First patch introduces a new platform hypercall to pass the graphics
console information and mode to a PVH dom0, which doesn't have this
information available as part of the start_info contents.
Further patches fix some shortcomings when using multiboot2, mostly the
ignoring of the console=vga (or lack of) and the vga=gfx- parameters.
It also switches default Xen behaviour from trying to reuse the
currently set GOP mode instead of attempting to set the maximum
supported resolution.
Marek: after this series using console= without the vga option should
result in Xen not attempting to touch the selected GOP mode and the
screen not getting cleared.
Thanks, Roger.
Roger Pau Monne (5):
x86/platform: introduce hypercall to get initial video console
settings
efi: only set a console mode if the current one is invalid
efi: try to use the currently set GOP mode
multiboot2: parse console= option when setting GOP mode
multiboot2: parse vga= option when setting GOP mode
xen/arch/x86/boot/head.S | 15 ++++++++--
xen/arch/x86/efi/efi-boot.h | 48 +++++++++++++++++++++++++++++--
xen/arch/x86/platform_hypercall.c | 11 +++++++
xen/arch/x86/x86_64/asm-offsets.c | 1 +
xen/common/efi/boot.c | 25 ++++++++++++++++
xen/drivers/video/vga.c | 2 +-
xen/include/public/platform.h | 6 ++++
7 files changed, 103 insertions(+), 5 deletions(-)
--
2.37.3