From owner-freebsd-xen@FreeBSD.ORG Sat May 16 08:56:58 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 679A066C for ; Sat, 16 May 2015 08:56:58 +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 DBA291C46 for ; Sat, 16 May 2015 08:56:57 +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 t4G7Udnx017860 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Sat, 16 May 2015 09:30:39 +0200 Received: from [192.168.2.134] (196.Red-79-154-48.dynamicIP.rima-tde.net [79.154.48.196]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id t4G7UbiK008812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 16 May 2015 09:30:38 +0200 Message-ID: <5556F21D.2050005@entel.upc.edu> Date: Sat, 16 May 2015 09:30:37 +0200 From: =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , 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> <5542365D.10403@entel.upc.edu> <55423ECD.6000404@citrix.com> In-Reply-To: <55423ECD.6000404@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: ACL matched, not delayed by milter-greylist-4.4.3 (dash.upc.es [147.83.2.50]); Sat, 16 May 2015 09:30:39 +0200 (CEST) X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.4.3 (ackerman2.upc.es [147.83.2.244]); Sat, 16 May 2015 09:30:39 +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: Sat, 16 May 2015 08:56:58 -0000 El 30/04/2015 a les 16:40, Roger Pau Monné ha escrit: > Hello, > > El 30/04/15 a les 16.04, Gustau Pérez ha escrit: >> >> 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, I was checking my pending stuff and I found this. I was wondering if there was any progress on the blkback backend to support iscsi hotplug scripts. I'm planing to move a bunch of vms to Xen and I'd be very interested on using the FreeBSD iscsi hotplug script I created by using the linux one as a guide. Or perhaps, I was thinking, is there any way to create the domain without hardcoding the disk on the cfg file and pass the disk someone as a 'command option'? I mean, I was thinking of a parent script that would connect the iscsi target, check the name of the new disk just connected and then perhaps patch the .cfg file with that name and launch the xl create command. A bit complicated solution but would do the work. I'd do that, but I wonder if it would be worth the effort if the blkback backend is to be here soon. What do you think? Best, Gustau