Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
         */
        vmi_init();
 #endif
-       kvm_guest_init();
-
        /*
         * NOTE: before this point _nobody_ is allowed to allocate
         * any memory using the bootmem allocator.  Although the
 
        early_quirks();
 
+       /*
+        * Read APIC and some other early information from ACPI tables.
+        */
        acpi_boot_init();
 
 #if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS)
+       /*
+        * get boot-time SMP configuration:
+        */
        if (smp_found_config)
                get_smp_config();
 #endif
                        "CONFIG_X86_PC cannot handle it.\nUse "
                        "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n");
 #endif
+       kvm_guest_init();
 
        e820_reserve_resources();
        e820_mark_nosave_regions(max_low_pfn);