From owner-freebsd-xen@FreeBSD.ORG Wed Aug 28 15:45:05 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 26ED67FF; Wed, 28 Aug 2013 15:45:05 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.eu.citrix.com [46.33.159.39]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 746802248; Wed, 28 Aug 2013 15:45:04 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.89,976,1367971200"; d="scan'208";a="8184798" Received: from lonpex01cl03.citrite.net ([10.30.203.103]) by LONPIPO01.EU.CITRIX.COM with ESMTP/TLS/AES128-SHA; 28 Aug 2013 15:44:57 +0000 Received: from [172.16.1.30] (10.30.203.1) by LONPEX01CL03.citrite.net (10.30.203.103) with Microsoft SMTP Server id 14.2.342.4; Wed, 28 Aug 2013 16:44:55 +0100 Message-ID: <521E1AF7.8070905@citrix.com> Date: Wed, 28 Aug 2013 17:44:55 +0200 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Colin Percival Subject: Re: CFT: replacing XENHVM kernel config with GENERIC + xenhvm.ko References: <521C3452.8080209@freebsd.org> In-Reply-To: <521C3452.8080209@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.30.203.1] Cc: "freebsd-xen@freebsd.org" 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 15:45:05 -0000 On 27/08/13 07:08, Colin Percival wrote: > Hi all, > > I've attached a patch which eliminates the XENHVM kernel configuration and > instead allows FreeBSD to run under Xen/HVM with PV drivers by loading a > new xenhvm.ko module from the boot loader. This will mean that FreeBSD > virtual machines running under Xen/HVM will be able to run "straight off > the ISO" binaries; this will also mean they will be able to use FreeBSD > Update to update the kernel. > > I have spent about 10 minutes testing this in Amazon EC2. Please help me > out by doing some more testing. ;-) Hello Colin, I'm sorry to say this, but I'm not sure this is the best way to move forward, I would prefer to just have the files merged directly into the GENERIC kernel rather than having to load a module. Also with the PVHVM changes I've posted earlier I'm modifying some common files, which cannot be put into a module, so it makes me wonder if it's worth it to have some Xen specific code into a module while the rest of it is already integrated into GENERIC. Roger.