diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-09-30 15:19:16 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-10-05 09:36:12 +0300 |
commit | 4d1ab432acc9391a5ae13c629dbb5882c29fd1b0 (patch) | |
tree | eb25eb590e4ae71514393af2acfee5b691ffad16 /arch/x86/xen/xen-ops.h | |
parent | 42bc9716bc1df21b55b303fe243f8575b3af24f9 (diff) | |
download | linux-4d1ab432acc9391a5ae13c629dbb5882c29fd1b0.tar.xz |
xen/x86: generalize preferred console model from PV to PVH Dom0
Without announcing hvc0 as preferred it won't get used as long as tty0
gets registered earlier. This is particularly problematic with there not
being any screen output for PVH Dom0 when the screen is in graphics
mode, as the necessary information doesn't get conveyed yet from the
hypervisor.
Follow PV's model, but be conservative and do this for Dom0 only for
now.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/582328b6-c86c-37f3-d802-5539b7a86736@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 6d9b2b3e0c1c..524d1243a0ce 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -118,6 +118,8 @@ static inline void __init xen_init_vga(const struct dom0_vga_console_info *info, } #endif +void xen_add_preferred_consoles(void); + void __init xen_init_apic(void); #ifdef CONFIG_XEN_EFI |