]> xenbits.xensource.com Git - xen.git/commitdiff
x86: add a comment regarding the location of hypervisor_probe
authorWei Liu <liuwe@microsoft.com>
Wed, 11 Dec 2019 11:33:03 +0000 (11:33 +0000)
committerWei Liu <wl@xen.org>
Wed, 11 Dec 2019 11:36:50 +0000 (11:36 +0000)
Signed-off-by: Wei Liu <liuwe@microsoft.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/setup.c

index fc049eaac8fe435d086933959d6b8f4d2c25ceba..501f3f5e4bcbed8632b8f08cf5b87ed59655bf0c 100644 (file)
@@ -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();