From owner-freebsd-xen@FreeBSD.ORG Thu Apr 30 15:30:54 2015 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11B34DAF for ; Thu, 30 Apr 2015 15:30:54 +0000 (UTC) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay.upc.es", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A1FC18E3 for ; Thu, 30 Apr 2015 15:30:53 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id t3UE4FBN005195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Thu, 30 Apr 2015 16:04:15 +0200 Received: from [192.168.1.193] (154.Red-83-43-116.dynamicIP.rima-tde.net [83.43.116.154]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id t3UE4DMu030780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 30 Apr 2015 16:04:14 +0200 Message-ID: <5542365D.10403@entel.upc.edu> Date: Thu, 30 Apr 2015 16:04:13 +0200 From: =?windows-1252?Q?Gustau_P=E9rez?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: =?windows-1252?Q?Roger_Pau_Monn=E9?= , FreeBSD XEN Subject: Re: Porting the block-iscsi hotplug script References: <553DEB97.5000300@entel.upc.edu> <5540A053.4080409@entel.upc.edu> <5540F3FC.80606@citrix.com> <5541FC8A.8080009@citrix.com> In-Reply-To: <5541FC8A.8080009@citrix.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: ACL matched, not delayed by milter-greylist-4.4.3 (dash.upc.es [147.83.2.50]); Thu, 30 Apr 2015 16:04:16 +0200 (CEST) X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.4.3 (ackerman2.upc.es [147.83.2.244]); Thu, 30 Apr 2015 16:04:15 +0200 (CEST) X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd 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: Thu, 30 Apr 2015 15:30:54 -0000 El 30/04/2015 a les 11:57, Roger Pau Monné ha escrit: > I've been digging into this, and it looks like it's going to be more > complicated than what I thought. FreeBSD blkback is not prepared to work > with hotplug scripts so we also need to modify it. > > I hope I'm going to have some time next week to prepare a patch to both > the FreeBSD kernel and libxl, sorry for the delay. Hi Roger and thanks for your time and efforts. I thought XENBUS_PATH was some sort of a reference to the xenstore path of the VM being executed and that the libxl would export that to the hotplug scripts. I thought that simply allowing the libxl to execute hotplug script for blk devices would be enough. Can I be of any help? Feel free to pass me work I you're busy. OTOH, I wasn't aware it could involve the Dom0 kernel. I'm confused about that, could you please explain me why it does involve the dom0 kernel? Thank you, Gus PS: a bit offtopic, but I've been reviewing the commits to FreeBSD HEAD and I don't see this: https://people.freebsd.org/~royger/mem.patch IIRC that patch solved the problem of domU PV guests with some hardware. Could you commit that upstream?