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>
This commit is contained in:
parent
bcc57df281
commit
2a7197f02d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue