From patchwork Thu Jan 26 19:41:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Ostrovsky X-Patchwork-Id: 9539987 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5C5CD604A0 for ; Thu, 26 Jan 2017 19:47:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AC132832F for ; Thu, 26 Jan 2017 19:47:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F9F628343; Thu, 26 Jan 2017 19:47:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 17ACD2832F for ; Thu, 26 Jan 2017 19:47:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpyC-0008AB-08; Thu, 26 Jan 2017 19:44:32 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWpyB-00089R-Cr for xen-devel@lists.xenproject.org; Thu, 26 Jan 2017 19:44:31 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id AD/82-09053-E915A885; Thu, 26 Jan 2017 19:44:30 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeJIrShJLcpLzFFi42KZM10+UHdeYFe EwbOrfBbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8akDzkFi1krtv/qYmxgPMXSxcjFISQwmUmi e8dX5i5GTiDnN6NE311LiMRGRonHx25DVfUwSnyctx2sik3ASOLs0emMILaIgLDEpSsdLCA2s 0CVxMT2VawgtrCAscTCpga2LkYODhYBVYm+ydUgYV4BL4lvh/6AjZEQUJCY8vA9mM0p4C3x8+ UyFogjvCRezTvLAlFjLNH+9iLbBEa+BYwMqxjVi1OLylKLdA31kooy0zNKchMzc3QNDcz0clO LixPTU3MSk4r1kvNzNzECg4QBCHYw7nzudIhRkoNJSZS3UaUrQogvKT+lMiOxOCO+qDQntfgQ owwHh5IE78oAoJxgUWp6akVaZg4wXGHSEhw8SiK8KSBp3uKCxNzizHSI1ClGY45TN06/ZOI49 enCSyYhlrz8vFQpcd5zIKUCIKUZpXlwg2BxdIlRVkqYlxHoNCGegtSi3MwSVPlXjOIcjErCvO kgU3gy80rg9r0COoUJ6JQLzO0gp5QkIqSkGhg9DWseu7WemqCsHe6j7Fv42XAJe2lowZknTdY SKcWOt3m+7llX0PJPsVh4MZOSr9yuE3p1J9syz6jH84Yu4OeQzT6R1XPqS5/dMrPavIkNcdrd VQb7BRZuq5zwyVaD7V232Uk+z2kO+jIWLxN+MddOyJq0dLnRhpUcnHPfiDBX/FLaarVJQ4mlO CPRUIu5qDgRAH52zl6eAgAA X-Env-Sender: boris.ostrovsky@oracle.com X-Msg-Ref: server-2.tower-27.messagelabs.com!1485459868!31496671!1 X-Originating-IP: [156.151.31.81] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTU2LjE1MS4zMS44MSA9PiAyODgzMzk=\n X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 29872 invoked from network); 26 Jan 2017 19:44:29 -0000 Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by server-2.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 26 Jan 2017 19:44:29 -0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v0QJiOgc011003 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Jan 2017 19:44:24 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v0QJiN1U012527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Jan 2017 19:44:23 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v0QJiNXg031933; Thu, 26 Jan 2017 19:44:23 GMT Received: from ovs104.us.oracle.com (/10.149.76.204) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 26 Jan 2017 11:44:22 -0800 From: Boris Ostrovsky To: JGross@suse.com Date: Thu, 26 Jan 2017 14:41:31 -0500 Message-Id: <1485459692-23961-9-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1485459692-23961-1-git-send-email-boris.ostrovsky@oracle.com> References: <1485459692-23961-1-git-send-email-boris.ostrovsky@oracle.com> X-Source-IP: aserv0022.oracle.com [141.146.126.234] Cc: xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, linux-kernel@vger.kernel.org, roger.pau@citrix.com Subject: [Xen-devel] [PATCH v2 8/9] xen/pvh: Enable CPU hotplug X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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