From patchwork Thu Mar 31 15:09:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 8714311 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6221DC0553 for ; Thu, 31 Mar 2016 15:14:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9326F20295 for ; Thu, 31 Mar 2016 15:14:57 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id B6A4A20272 for ; Thu, 31 Mar 2016 15:14:56 +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 1aleH2-00071v-9p; Thu, 31 Mar 2016 15:12:40 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aleH1-00071B-BC for xen-devel@lists.xenproject.org; Thu, 31 Mar 2016 15:12:39 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id 8D/42-23864-66E3DF65; Thu, 31 Mar 2016 15:12:38 +0000 X-Env-Sender: prvs=8914c038b=roger.pau@citrix.com X-Msg-Ref: server-11.tower-31.messagelabs.com!1459437149!6112105!5 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.11; banners=-,-,- X-VirusChecked: Checked Received: (qmail 3739 invoked from network); 31 Mar 2016 15:12:37 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-11.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 31 Mar 2016 15:12:37 -0000 X-IronPort-AV: E=Sophos;i="5.24,422,1454976000"; d="scan'208";a="343781233" From: Roger Pau Monne To: Date: Thu, 31 Mar 2016 17:09:39 +0200 Message-ID: <1459436979-7475-9-git-send-email-roger.pau@citrix.com> X-Mailer: git-send-email 2.6.4 (Apple Git-63) In-Reply-To: <1459436979-7475-1-git-send-email-roger.pau@citrix.com> References: <1459436979-7475-1-git-send-email-roger.pau@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: George Dunlap , Wei Liu , Ian Jackson , Roger Pau Monne Subject: [Xen-devel] [PATCH v3 8/8] hotplug/FreeBSD: document disk hotplug interface 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the FreeBSD disk hotplug interface details to the block-scripts.txt document. Signed-off-by: Roger Pau Monné Reviewed-by: George Dunlap --- Cc: Ian Jackson Cc: George Dunlap Cc: Wei Liu --- docs/misc/block-scripts.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/misc/block-scripts.txt b/docs/misc/block-scripts.txt index f9a001e..eabab10 100644 --- a/docs/misc/block-scripts.txt +++ b/docs/misc/block-scripts.txt @@ -48,6 +48,19 @@ written into xenstore: $XENBUS/params The contents of the 'target' section of the disk specification verbatim. $XENBUS/mode 'r' (for readonly) or 'w' (for read-write) +Inputs (FreeBSD) +-------------- + +The scripts are always called with the same set of arguments. The first +parameter is the xenstore backend path of the device, while the second +argument is the action, which is always either "add" or "remove". + +When the script is run, the following nodes shall already have been +written into xenstore: + + $XENBUS/params The contents of the 'target' section of the disk specification verbatim. + $XENBUS/mode 'r' (for readonly) or 'w' (for read-write) + Inputs (NetBSD) ---------------