diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-03-13 15:45:48 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-03-14 15:20:51 +0100 |
commit | 934ef33ee75c3846f605f18b65048acd147e3918 (patch) | |
tree | 5b5b2fd04466a3c1528176ad31982a9fec68615e /arch/x86/xen/enlighten_pv.c | |
parent | 99a7bcafbd0d04555074554573019096a8c10450 (diff) | |
download | linux-934ef33ee75c3846f605f18b65048acd147e3918.tar.gz linux-934ef33ee75c3846f605f18b65048acd147e3918.tar.bz2 linux-934ef33ee75c3846f605f18b65048acd147e3918.zip |
x86/PVH: obtain VGA console info in Dom0
A new platform-op was added to Xen to allow obtaining the same VGA
console information PV Dom0 is handed. Invoke the new function and have
the output data processed by xen_init_vga().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/8f315e92-7bda-c124-71cc-478ab9c5e610@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/enlighten_pv.c')
-rw-r--r-- | arch/x86/xen/enlighten_pv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index 5b1379662877..68f5f5d209df 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -1389,7 +1389,8 @@ asmlinkage __visible void __init xen_start_kernel(struct start_info *si) x86_platform.set_legacy_features = xen_dom0_set_legacy_features; - xen_init_vga(info, xen_start_info->console.dom0.info_size); + xen_init_vga(info, xen_start_info->console.dom0.info_size, + &boot_params.screen_info); xen_start_info->console.domU.mfn = 0; xen_start_info->console.domU.evtchn = 0; |