|
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
|
|
|
static struct notifier_block xsn_cpu = {
|
|
static struct notifier_block xsn_cpu = {
|
|
|
.notifier_call = setup_cpu_watcher };
|
|
.notifier_call = setup_cpu_watcher };
|
|
|
|
|
|
|
|
- if (!is_running_on_xen())
|
|
|
|
|
|
|
+ if (!xen_pv_domain())
|
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
|
|
register_xenstore_notifier(&xsn_cpu);
|
|
register_xenstore_notifier(&xsn_cpu);
|