From owner-freebsd-xen@FreeBSD.ORG Wed Aug 8 14:31:45 2012 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D576A106564A for ; Wed, 8 Aug 2012 14:31:45 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 91DF38FC0A for ; Wed, 8 Aug 2012 14:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Cc:Date:References:Subject:To:Content-Type; bh=pLRMs/U/2WcLOKfNAKICg6DL+hW4Q6IBl5x+LKZOLTs=; b=YpHOigXlMUs0/ZZwYcEVOyOZB5MUlnhJkDzgSK6Hesr1EeUCf9Oc78Uf3XzbVipCxvNu777MLVHkO8Vme7C2igbFLrvyn5YqNWgFuPwC8KzRpStEFl6bJxFtfGmBGJUB; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Sz7IQ-000M3s-Oq; Wed, 08 Aug 2012 09:31:44 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1344436290-41577-41576/5/44; Wed, 8 Aug 2012 14:31:30 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-xen@freebsd.org References: Date: Wed, 8 Aug 2012 09:31:30 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/12.01 (FreeBSD) X-SA-Report: ALL_TRUSTED=-1, KHOP_THREADED=-0.5 X-SA-Score: -1.5 Cc: Subject: Re: Citrix Xenserver and FreeBSD migration/suspend scripts X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 08 Aug 2012 14:31:45 -0000 I've had a few positive responses off-list about this and the desire to get this into the ports tree somehow. Someone also had the original author's email address (he subscribes to this list), so I'm going to CC him on this email as well. We could probably get this into the ports tree relatively quickly. I've been working closely with the ports@ team recently, so it wouldn't take much effort in that respect. Some questions were brought up about what it should be named or if it should be a separate port and I don't know what the right answer here is, really. Perhaps emulators/xe-tools or emulators/xenserver-tools would be sufficient. I guess the first step would be to find some place to officially host the tarball and/or tag a release on github. As it stands things are fully functional, so getting this into the ports tree shouldn't be too big of a problem. Long term I'd like to see this cleaned up a bit more... it's quite the mess. Honestly, everything could (and should) be rolled into one shell script because there's really no need to have xe-daemon, xe-ip-if.sh, and xe-update-guest-attrs. For the record, xe-update-guest-attrs is the file with the Citrix/GPL header. It has the examples of how we should be calling the other xen-tools to report data to XenServer. Whether we concentrate on this script or a rewrite happens doesn't really matter to me; it's not a lot of code I'd just like to see all of these really awful hacks removed :-) Someone was asking about whether or not this was production-worthy. I really don't see why not. I suppose if this fails you'll just end up with a VM running without recognized tools again. I don't believe it's possible for the OS to crash from things these scripts run, and the ability to migrate/suspend Xen VMs is not reliant on these tools in a fully open source Xen environment; this is just a requirement Citrix imposes. Feel free to speak up if you have any thoughts or suggestions :-) Egoitz, can you confirm what license you originally released everything under? I'd like to properly honor that license if you had one in mind.