From owner-freebsd-xen@freebsd.org Fri Mar 4 11:54:14 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE67D9DA3BC for ; Fri, 4 Mar 2016 11:54:14 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F2128F4 for ; Fri, 4 Mar 2016 11:54:14 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id l68so17079108wml.0 for ; Fri, 04 Mar 2016 03:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Knki5JOAEGi13kxheKcnDFvV5Qdzi0OWLNwqXZR3RZw=; b=HUF1bKeAwRofGE/DsPjnVMvJhl3IP5Ezm8x4FhVlX2MmH1ODsQPPT6v8/t9D3h92w5 PI7aR6eme0XTrMC52NapDjBWAywrzRDiJ7hIS7ipfjB63l7s1JPynlBBOhu3B7jQuaE0 ete0siSJxw1H1cdS2dYxOQ60+ZGtSnRKtTAduuXH2eZjdpdl+YbbNl+a75aJJCNmJzf8 Pb66CTnjYYQcPJgoF1AVyiDr/+pMGZoLzYMzBa5K20GVq4StcWt3NVGOlmFU5HS67A7+ KRHQMN+CSRWzhFFi+ZMObPPWg8qd7MnkiPsvjnTxWLW83d//UokUX6qpDwVSM8TF/EjG YRBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Knki5JOAEGi13kxheKcnDFvV5Qdzi0OWLNwqXZR3RZw=; b=VD7rwrdMLCTRYtLkD8emT269fUGuHtzrH8ogfIMBguZ7enA9uW3Q2sU5liiggxhtIF mtm+ev55RwGlUlcsvhs7DwT9SGbCn4P5wb8dfTtIMRXvkioiGZ1sKfYVYn+V+KFcVr0x mmwVCcE7OSG2BJVWBiH7m0yUv+cjlGd81qBebJeLYRGr8mX0/Bgo6AGCg9gGcF2N33xr JUnrgG59Mh4rkjhOzHxiC2/+d7i5Ypl7BpSNeUCnCZGE6ktHPW7hjPq6pDbyOFH4gnrZ PRdzZjts5JrAgk+KKedpAiQs8Tw57HHITINzahmhNO8PaBP24rRqqgkXeBG9BPBIUmc7 TmJw== X-Gm-Message-State: AD7BkJLKWZpJ0iDmJ5e+VLtE2igoNkrHtO1T0dPl1Cun0pKgR613vw0ihamndtVG2ZzUIg== X-Received: by 10.194.63.144 with SMTP id g16mr10088228wjs.149.1457092452829; Fri, 04 Mar 2016 03:54:12 -0800 (PST) Received: from [10.0.2.151] ([147.83.40.10]) by smtp.googlemail.com with ESMTPSA id t8sm2958679wjy.41.2016.03.04.03.54.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2016 03:54:11 -0800 (PST) Subject: Re: Porting the block-iscsi hotplug script To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= References: <553DEB97.5000300@entel.upc.edu> <5556F21D.2050005@entel.upc.edu> <555EEFBA.5080902@citrix.com> <555EF542.3090002@citrix.com> <555F9B3F.1000600@entel.upc.edu> <55602512.1090702@citrix.com> <56C6FA2F.8040900@gmail.com> <56CAC8CB.8030107@gmail.com> <56CADEDA.4050007@citrix.com> <56CB0057.1060509@gmail.com> <56CB041E.1020009@citrix.com> <56CB2D90.5080809@gmail.com> <56CB34BA.6060809@citrix.com> <56CC24BD.6050609@gmail.com> <56CC32E5.5010101@citrix.com> <56CC7637.3080408@gmail.com> <56CF5668.6090605@citrix.com> <56D0091F.80408@gmail.com> <56D02863.7040100@citrix.com> <56D03D95.9090509@gmail.com> <56D04E5F.8070901@citrix.com> <56D42A28.8050701@gmail.com> <56D434FC.8030905@citrix.com> <56D57110.2060406@gmail.com> <56D587D8.6030702@citrix.com> <56D590EA.609@gmail.com> <56D591BA.4020303@gmail.com> <56D5929F.7040001@citrix.com> <56D5C722.3080205@gmail.com> <56D6B68D.8080809@citrix.com> <56D7FEFE.9050000@gmail.com> Cc: FreeBSD XEN From: =?UTF-8?Q?Gustau_P=c3=a9rez?= Message-ID: <56D97762.7000908@gmail.com> Date: Fri, 4 Mar 2016 12:54:10 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 11:54:14 -0000 El 4/03/16 a les 11:00, Roger Pau Monné ha escrit: > > What other parameters do you want to pass to your script that cannot be > fetched from xenstore? IMHO I was planning to only pass the xenstore > backend node and the action. The action (if I understand it correctly) is already there. OTOH, I'd like to check if the disks are already in use, and so I'd need to walk the /local/domain/0/backend/vbd/$domin/$devid/ looking if the disks are already there. This arises two questions: * can I assume the domain0 store would always be /local/domain/0/? * would I need to walk for each $domid checking for each $devid and getting the physical device? Thank you, G. > Roger.