diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-06 18:58:05 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-07 16:07:01 +0300 |
commit | 2a7197f02dddf1f9cee300bd12512375ed56524a (patch) | |
tree | 186450295b7fc64ff093f278aa4928714dad21b5 /drivers/xen/cpu_hotplug.c | |
parent | bcc57df281d93dfa502c824e9f73e0191c3f7c34 (diff) | |
download | linux-2a7197f02dddf1f9cee300bd12512375ed56524a.tar.xz |
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 <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/cpu_hotplug.c')
-rw-r--r-- | drivers/xen/cpu_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index 5676aefdf2bc..0bab60a37464 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 |