Commit 42bc9716 authored by Jan Beulich's avatar Jan Beulich Committed by Juergen Gross
Browse files

xen/x86: make "earlyprintk=xen" work for HVM/PVH DomU



xenboot_write_console() is dealing with these quite fine so I don't see
why xenboot_console_setup() would return -ENOENT in this case.

Adjust documentation accordingly.

Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>

Link: https://lore.kernel.org/r/3d212583-700e-8b2d-727a-845ef33ac265@suse.com


Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent 8e24d9bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1255,7 +1255,7 @@
			The VGA and EFI output is eventually overwritten by
			the real console.

			The xen output can only be used by Xen PV guests.
			The xen option can only be used in Xen domains.

			The sclp output can only be used on s390.

+1 −3
Original line number Diff line number Diff line
@@ -607,10 +607,8 @@ static int __init xenboot_console_setup(struct console *console, char *string)
{
	static struct xencons_info xenboot;

	if (xen_initial_domain())
	if (xen_initial_domain() || !xen_pv_domain())
		return 0;
	if (!xen_pv_domain())
		return -ENODEV;

	return xencons_info_pv_init(&xenboot, 0);
}