Signed-off-by: Wei Liu <li...@microsoft.com> --- xen/arch/x86/setup.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index cf5a7b8e1e..4aa0af5a12 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. + */ running_on_hypervisor = hypervisor_probe(); parse_video_info(); -- 2.20.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel