From patchwork Wed Jun 15 11:15:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9178179 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 20B07604DB for ; Wed, 15 Jun 2016 11:17:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1103B27F48 for ; Wed, 15 Jun 2016 11:17:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06156281FE; Wed, 15 Jun 2016 11:17:26 +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 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 C202527F48 for ; Wed, 15 Jun 2016 11:17:25 +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 1bD8n4-0004W7-BJ; Wed, 15 Jun 2016 11:15:22 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bD8n3-0004Vi-4q for xen-devel@lists.xenproject.org; Wed, 15 Jun 2016 11:15:21 +0000 Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id 34/48-23809-8C831675; Wed, 15 Jun 2016 11:15:20 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRWlGSWpSXmKPExsXitHRDpO5xi8R wgy9H1S2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oxtU7+xF+xhq/j5t6yB8S1rFyMnh4SAv8TW I6vZQWw2AWWJn529bCC2iICeRNOB54xdjFwczAIdjBI90+aDNQgLWEjcap7JBGKzCKhKPDy8h xnE5hVwlth45Sc7xFA5ifPHf4LFOQVcJP7/bmMEsYWAai5/u8UGUS8ocXLmExYQm1lAU6J1+2 92CFteonnrbGaIegWJjunHgHZxAM3klvjbbT+BkX8Wku5ZSLpnIelewMi8ilG9OLWoLLVI10Q vqSgzPaMkNzEzR9fQ0EQvN7W4ODE9NScxqVgvOT93EyMwABmAYAfjioXOhxglOZiURHk95BLD hfiS8lMqMxKLM+KLSnNSiw8xynBwKEnwBpkD5QSLUtNTK9Iyc4CxAJOW4OBREuH1BUnzFhck5 hZnpkOkTjHqciz4cXstkxBLXn5eqpQ4xAwBkKKM0jy4EbC4vMQoKyXMywh0lBBPQWpRbmYJqv wrRnEORiVh3sUgU3gy80rgNr0COoIJ6Aib6fEgR5QkIqSkGhgjdroop7X0eh8Kfxvx5L6V7Iy 5nw84/1+85BzDP8kF6VuDKmbEiWw5FjJJ+LVm63lbHcGVjkVKOoxxe3lav9s6Tn0kfPXKsnKv vllmGqw/96fP41CeMFP3/9RVAtkXONbxOS9SE8m7Lhx4LDftuL9X/LYgK45rEaXdZrZBa+Z2T nWIP+pnqq7EUpyRaKjFXFScCACu6YtOxgIAAA== X-Env-Sender: prvs=967af9503=wei.liu2@citrix.com X-Msg-Ref: server-11.tower-27.messagelabs.com!1465989317!39284169!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 38974 invoked from network); 15 Jun 2016 11:15:19 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 15 Jun 2016 11:15:19 -0000 X-IronPort-AV: E=Sophos;i="5.26,475,1459814400"; d="scan'208";a="360560019" From: Wei Liu To: Xen-devel Date: Wed, 15 Jun 2016 12:15:05 +0100 Message-ID: <1465989309-12418-4-git-send-email-wei.liu2@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465989309-12418-1-git-send-email-wei.liu2@citrix.com> References: <1465989309-12418-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Jackson , Wei Liu , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [Xen-devel] [PATCH 3/7] hotplug/FreeBSD: honour XEN_RUN_DIR 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: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Store xldevd.pid under XEN_RUN_DIR. Note that the default location would change from /var/run to /var/run/xen. Signed-off-by: Wei Liu Acked-by: Roger Pau Monné Acked-by: Ian Jackson --- Cc: Ian Jackson Cc: Roger Pau Monné --- tools/hotplug/FreeBSD/rc.d/xendriverdomain.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in index 4063c06..8ece7c3 100644 --- a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in +++ b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in @@ -18,7 +18,7 @@ start_cmd="xendriverdomain_startcmd" stop_cmd="xendriverdomain_stop" extra_commands="" -XLDEVD_PIDFILE="/var/run/xldevd.pid" +XLDEVD_PIDFILE="@XEN_RUN_DIR@/xldevd.pid" xendriverdomain_precmd() {