}
 EXPORT_SYMBOL_GPL(hyperv_report_panic);
 
-bool hv_is_hypercall_page_setup(void)
+bool hv_is_hyperv_initialized(void)
 {
        union hv_x64_msr_hypercall_contents hypercall_msr;
 
-       /* Check if the hypercall page is setup */
+       /*
+        * Ensure that we're really on Hyper-V, and not a KVM or Xen
+        * emulation of Hyper-V
+        */
+       if (x86_hyper_type != X86_HYPER_MS_HYPERV)
+               return false;
+
+       /*
+        * Verify that earlier initialization succeeded by checking
+        * that the hypercall page is setup
+        */
        hypercall_msr.as_uint64 = 0;
        rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64);
 
-       if (!hypercall_msr.enable)
-               return false;
-
-       return true;
+       return hypercall_msr.enable;
 }
-EXPORT_SYMBOL_GPL(hv_is_hypercall_page_setup);
+EXPORT_SYMBOL_GPL(hv_is_hyperv_initialized);
 
 void hyperv_setup_mmu_ops(void);
 void hyper_alloc_mmu(void);
 void hyperv_report_panic(struct pt_regs *regs, long err);
-bool hv_is_hypercall_page_setup(void);
+bool hv_is_hyperv_initialized(void);
 void hyperv_cleanup(void);
 #else /* CONFIG_HYPERV */
 static inline void hyperv_init(void) {}
-static inline bool hv_is_hypercall_page_setup(void) { return false; }
+static inline bool hv_is_hyperv_initialized(void) { return false; }
 static inline void hyperv_cleanup(void) {}
 static inline void hyperv_setup_mmu_ops(void) {}
 #endif /* CONFIG_HYPERV */
 
  */
 int hv_init(void)
 {
-       if (!hv_is_hypercall_page_setup())
-               return -ENOTSUPP;
-
        hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context);
        if (!hv_context.cpu_context)
                return -ENOMEM;
 
 #include <linux/sched/task_stack.h>
 
 #include <asm/hyperv.h>
-#include <asm/hypervisor.h>
 #include <asm/mshyperv.h>
 #include <linux/notifier.h>
 #include <linux/ptrace.h>
         * Initialize the per-cpu interrupt state and
         * connect to the host.
         */
-       ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "x86/hyperv:online",
+       ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "hyperv/vmbus:online",
                                hv_synic_init, hv_synic_cleanup);
        if (ret < 0)
                goto err_alloc;
 {
        int ret, t;
 
-       if (x86_hyper_type != X86_HYPER_MS_HYPERV)
+       if (!hv_is_hyperv_initialized())
                return -ENODEV;
 
        init_completion(&probe_event);