From owner-freebsd-xen@FreeBSD.ORG Fri May 22 08:58:45 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 B18EF142 for ; Fri, 22 May 2015 08:58:45 +0000 (UTC) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Cybertrust Public SureServer SV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 638791423 for ; Fri, 22 May 2015 08:58:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.13,474,1427760000"; d="scan'208";a="267661361" Message-ID: <555EEFBA.5080902@citrix.com> Date: Fri, 22 May 2015 10:58:34 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?R3VzdGF1IFDDqXJleg==?= , 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> <5556F21D.2050005@entel.upc.edu> In-Reply-To: <5556F21D.2050005@entel.upc.edu> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-DLP: MIA1 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: Fri, 22 May 2015 08:58:45 -0000 El 16/05/15 a les 9.30, Gustau Pérez ha escrit: > > > 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. Hello, Sorry for the delay, I have patches ready now to enable disk hotplug scripts for FreeBSD. You will need to patch both Xen and the FreeBSD kernel in order to use them. The patch for the FreeBSD kernel is at: https://people.freebsd.org/~royger/freebsd-hotplug/ And the patches for Xen are at: https://people.freebsd.org/~royger/xen-hotplug/ Please note that Xen patches should be applied in the right order, or else you will get conflicts. Patch 4 in the Xen series contains a sample block hotplug script that you can probably use as the base for your iSCSI hotplug script. If something is not clear please drop me a line. Roger.