]> git.baikalelectronics.ru Git - kernel.git/commit
xen/x86: generalize preferred console model from PV to PVH Dom0
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Sep 2021 12:19:16 +0000 (14:19 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 5 Oct 2021 06:36:12 +0000 (08:36 +0200)
commitc75e1740735c5dbcb6a3b25df851c9ed08f7eea2
treeeb25eb590e4ae71514393af2acfee5b691ffad16
parent5d0539eb63efa53d2bd624249eb2c83ccac427d1
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>
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/enlighten_pvh.c
arch/x86/xen/xen-ops.h