提交 2a7197f0 编写于 作者: B Boris Ostrovsky

xen/pvh: Enable CPU hotplug

PVH guests don't (yet) receive ACPI hotplug interrupts and therefore
need to monitor xenstore for CPU hotplug event.
Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: NJuergen Gross <jgross@suse.com>
上级 bcc57df2
...@@ -107,7 +107,7 @@ static int __init setup_vcpu_hotplug_event(void) ...@@ -107,7 +107,7 @@ static int __init setup_vcpu_hotplug_event(void)
.notifier_call = setup_cpu_watcher }; .notifier_call = setup_cpu_watcher };
#ifdef CONFIG_X86 #ifdef CONFIG_X86
if (!xen_pv_domain()) if (!xen_pv_domain() && !xen_pvh_domain())
#else #else
if (!xen_domain()) if (!xen_domain())
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册