From owner-freebsd-xen@FreeBSD.ORG Wed Aug 28 17:09:55 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D3919F8E for ; Wed, 28 Aug 2013 17:09:55 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (hill.egr.msu.edu [35.9.37.162]) by mx1.freebsd.org (Postfix) with ESMTP id ABBDF287D for ; Wed, 28 Aug 2013 17:09:55 +0000 (UTC) Received: from hill (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 670B2438B7 for ; Wed, 28 Aug 2013 13:02:51 -0400 (EDT) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by hill (hill.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z6Pp6aLbsQTv for ; Wed, 28 Aug 2013 13:02:51 -0400 (EDT) Received: from EGR authenticated sender Message-ID: <521E2D3B.3080005@egr.msu.edu> Date: Wed, 28 Aug 2013 13:02:51 -0400 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130824 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-xen@freebsd.org Subject: Re: XenServer 6.2 tools for FreeBSD 9 'Guest'? References: <2217D79A5CD4C9E06B7F8D3A@Mail-PC.tdx.co.uk> In-Reply-To: <2217D79A5CD4C9E06B7F8D3A@Mail-PC.tdx.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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, 28 Aug 2013 17:09:55 -0000 On 08/28/13 11:31, Karl Pielorz wrote: > > Hi, > > We've got XenServer now running a couple of FreeBSD 9.2-RC2 VM's > (running the XENHVM kernel). > > Is there any up to date 'xen tools' setup guide or anything anywhere we > can look at? > > I've seen 'xen-tools' in the ports collection - but once installed it > doesn't seem to do a lot. I'm looking to enable things like suspending > VM's and migration etc. > > Any pointers? - Google turns up a lot of stuff, but mostly for much > older versions of Xen & FreeBSD. > > -Karl Try the xe-guest-utilities which uses xen-tools. You may have to hack /usr/local/sbin/xe-update-guest-attrs near the bottom to provide a MinorVersion and/or MicroVersion higher than the default to get the hypervisor to accept it as recent enough. For example under a 6.0.2 environment you could try: xenstore_write_cached "attr/PVAddons/MajorVersion" "6" xenstore_write_cached "attr/PVAddons/MinorVersion" "0" xenstore_write_cached "attr/PVAddons/MicroVersion" "99" Once you enable and run /usr/local/etc/rc.d/xenguest you should be in business.