Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567671 > unrolled thread

[PATCH v2 8/9] xen/pvh: Enable CPU hotplug

Started byBoris Ostrovsky <boris.ostrovsky@oracle.com>
First post2017-01-26 20:50 +0100
Last post2017-01-27 16:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 8/9] xen/pvh: Enable CPU hotplug Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-01-26 20:50 +0100
    Re: [PATCH v2 8/9] xen/pvh: Enable CPU hotplug Juergen Gross <jgross@suse.com> - 2017-01-27 16:40 +0100

#1567671 — [PATCH v2 8/9] xen/pvh: Enable CPU hotplug

FromBoris Ostrovsky <boris.ostrovsky@oracle.com>
Date2017-01-26 20:50 +0100
Subject[PATCH v2 8/9] xen/pvh: Enable CPU hotplug
Message-ID<t3Ydu-2X9-85@gated-at.bofh.it>
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>
---
 drivers/xen/cpu_hotplug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c
index 5676aef..0bab60a3 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
-- 
1.8.3.1

[toc] | [next] | [standalone]


#1568439

FromJuergen Gross <jgross@suse.com>
Date2017-01-27 16:40 +0100
Message-ID<t4gN4-5TS-5@gated-at.bofh.it>
In reply to#1567671
On 26/01/17 20:41, Boris Ostrovsky wrote:
> 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>


Juergen

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web