From owner-freebsd-xen@freebsd.org Tue Mar 1 16:45:26 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 AB98CAC0D22 for ; Tue, 1 Mar 2016 16:45:26 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 3C533134A for ; Tue, 1 Mar 2016 16:45:26 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id p65so43776503wmp.1 for ; Tue, 01 Mar 2016 08:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=dya4zJs77+GVswgUImZDI69yXeN+nX5Skv507RDCeqE=; b=i1FXgoaP9B5LKewYCyo1gTDdnIG2+3Mi4o5xq9lfXK2S9PL5tmRjTRvcIyiuBIASWY k6ZVZMhMbtGDAWGxnDBtijWT9EqN9+b5eW42ORA9nW1IUTkJ/ddFxfsIrzOy0xMJ7oBZ amZ5IhxhBQtYH4nGboAAQBoO48iP4h/cjL+vvcU0hpgMKtmQ+Xt5hpSDVpS6YnT7tOyT 9AnUSuWzblMd8dusW6dBjnRl35dKv5eREmjcIA/Dv0BqgcvLRXU8I5kIZ9ZUJnjKbYW8 ARtUyOum3mwaH5+0/DDVAQUBg4/JBv+3jjzTCKBO7DzYIFr9iAOCD01E/jY38/R/7bcx 0Xhg== 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:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=dya4zJs77+GVswgUImZDI69yXeN+nX5Skv507RDCeqE=; b=MqVnk2XjqovxEp+7Lb+xUNQ5CEbjYkPBqG1Y9ig+CAH0Z4fRffJnHeXKLmeG5aDeUy Z1AxeNDyQxcpvKipqeI0wgn+fcB9WpVsAgVfyuxdRuekFsH/ZoCQ5cYqynAIUuvQ2N60 b9u7Er6SwZfzPpQ4fyWFGS8vTlpd7hKvtOv6UT6SsMUxQ+2rz0mh7p7a/fFeUWlyBg9E uK+jFBkY6reRz8qMVWBHIG+gR3/vIT93kszxqpWuKuKDXdJYOoNt8K/3nIVZYhcjI3/8 NftlaGL/UcdOQ9JdsygA60LcwAQ5wXBbh0LjOPkkG9je72nRbAqJHCEprSyWM2MxW2UL SQwg== X-Gm-Message-State: AD7BkJLnlCqaHKlfG8k48GUHokIT2pvkCA0qxpOGb3uJUcFmXBnWlY3z2tsVtFT7C19+IQ== X-Received: by 10.194.86.68 with SMTP id n4mr25303702wjz.150.1456850724627; Tue, 01 Mar 2016 08:45:24 -0800 (PST) Received: from [10.0.2.151] ([147.83.40.10]) by smtp.googlemail.com with ESMTPSA id i2sm31691407wje.22.2016.03.01.08.45.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2016 08:45:23 -0800 (PST) Subject: Re: Porting the block-iscsi hotplug script To: FreeBSD XEN References: <553DEB97.5000300@entel.upc.edu> <5540A053.4080409@entel.upc.edu> <5540F3FC.80606@citrix.com> <5541FC8A.8080009@citrix.com> <5542365D.10403@entel.upc.edu> <55423ECD.6000404@citrix.com> <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> From: =?UTF-8?Q?Gustau_P=c3=a9rez?= X-Enigmail-Draft-Status: N1110 Message-ID: <56D5C722.3080205@gmail.com> Date: Tue, 1 Mar 2016 17:45:22 +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: <56D5929F.7040001@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 01 Mar 2016 16:45:26 -0000 El 1/03/16 a les 14:01, Roger Pau Monné ha escrit: > now it's too messy to understand. Also, make sure your hotplug script > writes the "physical-device" node, or else blkback is not going to > attach the disk. Hello Roger, I tried a PV domain and I can see the physical device in the xenstore even if the block script does nothing. I wouldn't expect that. Am I missing anything? On the other hand, if I attach two disks[2], the xenstored again complains about one of the disks already declared in the xenstore. However the store seem to be fine [3]. If I remove that disk from the definition the domain boots just fine. Finally, out of curiosity, I'd like to ask, do you know why there are two /local/domain/ branches for a single domain? When I create a domain I can see there's a /local/domain/0/../../X/ and /local/domain/X/ (which X seems to be the number of domains executed in the box). I see the domain information splitted in those two branches. I understand the X makes it easy to join the information in both branches and allows the system to identify the domain. Is it to easily list all the domains and the most important information of them easily without walking the whole tree? Thank you, Gustau [1] http://pastebin.com/trPaGWXK [2] http://pastebin.com/u8312VtW [3] http://pastebin.com/DXLbD673