From: Wei Liu Date: Wed, 11 Dec 2019 11:33:03 +0000 (+0000) Subject: x86: add a comment regarding the location of hypervisor_probe X-Git-Tag: 4.14.0-rc1~968 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=80268f63640f5c3a9a4e1c688a62e35448fde9e2;p=xen.git x86: add a comment regarding the location of hypervisor_probe Signed-off-by: Wei Liu Acked-by: Jan Beulich --- diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index fc049eaac8..501f3f5e4b 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -764,6 +764,10 @@ void __init noreturn __start_xen(unsigned long mbi_p) * allocing any xenheap structures wanted in lower memory. */ kexec_early_calculations(); + /* + * The probing has to be done _before_ initialising console, + * otherwise we couldn't set up Xen's PV console correctly. + */ hypervisor_name = hypervisor_probe(); parse_video_info();