]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
xen/x86: allow "earlyprintk=xen" to work for PV Dom0
authorJan Beulich <jbeulich@suse.com>
Thu, 30 Sep 2021 12:18:12 +0000 (14:18 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 5 Oct 2021 06:36:02 +0000 (08:36 +0200)
commit8e24d9bfc44d3bd884669ef8b344112fe41c9826
treef961a7f13369479e356f754e7195bfb5ec0c9655
parentadf330a7cd64a8bb959dc48a9c282285c1d5b4d5
xen/x86: allow "earlyprintk=xen" to work for PV Dom0

With preferred consoles "tty" and "hvc" announced as preferred,
registering "xenboot" early won't result in use of the console: It also
needs to be registered as preferred. Generalize this from being DomU-
only so far.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/d4a34540-a476-df2c-bca6-732d0d58c5f0@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pv.c