From: Boris Ostrovsky Date: Mon, 6 Feb 2017 15:58:05 +0000 (-0500) Subject: xen/pvh: Enable CPU hotplug X-Git-Tag: v4.11-rc1~136^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a7197f02dddf1f9cee300bd12512375ed56524a;p=thirdparty%2Fkernel%2Flinux.git 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: Boris Ostrovsky Reviewed-by: Juergen Gross --- diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index 5676aefdf2bca..0bab60a374648 100644 --- a/drivers/xen/cpu_hotplug.c +++ b/drivers/xen/cpu_hotplug.c @@ -107,7 +107,7 @@ static int __init setup_vcpu_hotplug_event(void) .notifier_call = setup_cpu_watcher }; #ifdef CONFIG_X86 - if (!xen_pv_domain()) + if (!xen_pv_domain() && !xen_pvh_domain()) #else if (!xen_domain()) #endif