[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] x86: add a comment regarding the location of hypervisor_probe



commit 80268f63640f5c3a9a4e1c688a62e35448fde9e2
Author:     Wei Liu <liuwe@xxxxxxxxxxxxx>
AuthorDate: Wed Dec 11 11:33:03 2019 +0000
Commit:     Wei Liu <wl@xxxxxxx>
CommitDate: Wed Dec 11 11:36:50 2019 +0000

    x86: add a comment regarding the location of hypervisor_probe
    
    Signed-off-by: Wei Liu <liuwe@xxxxxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 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 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();
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.