From owner-freebsd-xen@FreeBSD.ORG Sat Nov 9 12:04:52 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 D4A47F16; Sat, 9 Nov 2013 12:04:52 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B94329CF; Sat, 9 Nov 2013 12:04:50 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.93,667,1378857600"; d="scan'208";a="70137149" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 09 Nov 2013 12:04:42 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Sat, 9 Nov 2013 07:04:41 -0500 Message-ID: <527E24D8.4010403@citrix.com> Date: Sat, 9 Nov 2013 13:04:40 +0100 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD PVH guest support References: <526E6807.9030005@citrix.com> <527BD793.8010606@citrix.com> In-Reply-To: <527BD793.8010606@citrix.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-DLP: MIA1 Cc: peter@FreeBSD.org, alc@FreeBSD.org, xen-devel , freebsd-current@freebsd.org, Konstantin Belousov , "Justin T. Gibbs" 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: Sat, 09 Nov 2013 12:04:52 -0000 On 07/11/13 19:10, Roger Pau Monné wrote: > On 28/10/13 14:35, Roger Pau Monné wrote: >> Hello, >> >> The Xen community is working on a new virtualization mode (or maybe I >> should say an extension of HVM) to be able to run PV guests inside HVM >> containers without requiring a device-model (Qemu). One of the >> advantages of this new virtualization mode is that now it is much more >> easier to port guests to run under it (as compared to pure PV guests). >> >> Given that FreeBSD already supports PVHVM, adding PVH support is quite >> easy, we only need some glue for the PV entry point and then support >> for diverging some early init functions (like fetching the e820 map or >> starting the APs). >> >> The attached patch contains all this changes, and allows a SMP FreeBSD >> guest to fully boot (and AFAIK work) under this new PVH mode. The patch >> can also be found on my git repo: >> >> git://xenbits.xen.org/people/royger/freebsd.git pvh_v2 >> >> The patch touches quite a lot of the early init, so I've Cced the >> persons that maintain those areas, so they can review it. >> >> In order to test it, and since the PVH changes are not yet merged into >> upstream Xen, the use of a patched Xen is necessary. I've collected the >> patches for PVH guest support from George Dunlap (v13) and fixed some >> bugs on top of them, the tree can be found at: >> >> git://xenbits.xen.org/people/royger/xen.git fix_pvh > > I've updated the patch (as suggested by John Baldwin) and added a Xen > Nexus, that attaches all the Xen top-level devices, this gets rid of the > legacy bus. > > The new patch can be found at: > > git://xenbits.xen.org/people/royger/freebsd.git pvh_v2 The correct branch is pvh_v3, not pvh_v2: http://xenbits.xen.org/gitweb/?p=people/royger/freebsd.git;a=shortlog;h=refs/heads/pvh_v3