From owner-freebsd-virtualization@FreeBSD.ORG Tue May 21 18:58:46 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1DD9E372; Tue, 21 May 2013 18:58:46 +0000 (UTC) (envelope-from konrad.wilk@oracle.com) Received: from userp1050.oracle.com (userp1050.oracle.com [156.151.31.82]) by mx1.freebsd.org (Postfix) with ESMTP id D04A869C; Tue, 21 May 2013 18:58:44 +0000 (UTC) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by userp1050.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4LHeKtE015857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 May 2013 17:40:20 GMT Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r4LHeAnH023917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 May 2013 17:40:10 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4LHeAOT029243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 21 May 2013 17:40:11 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r4LHeAO7024106; Tue, 21 May 2013 17:40:10 GMT Received: from phenom.dumpdata.com (/50.195.21.189) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 21 May 2013 10:40:10 -0700 Received: by phenom.dumpdata.com (Postfix, from userid 1000) id 6B1141BF781; Tue, 21 May 2013 13:40:09 -0400 (EDT) Date: Tue, 21 May 2013 13:40:09 -0400 From: Konrad Rzeszutek Wilk To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Subject: Re: [Xen-devel] FreeBSD PVHVM call for testing Message-ID: <20130521174009.GA5011@phenom.dumpdata.com> References: <519131D8.9010307@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <519131D8.9010307@citrix.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Source-IP: userp1040.oracle.com [156.151.31.81] Cc: "freebsd-xen@freebsd.org" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 18:58:46 -0000 On Mon, May 13, 2013 at 08:32:56PM +0200, Roger Pau Monn=E9 wrote: > Hello, >=20 > Recently Justin T Gibbs, Will Andrews and myself have been working on > improving the Xen support in FreeBSD. The main goal of this was to brin= g > full PVHVM support to FreeBSD, right now FreeBSD is only using PV > interfaces for disk and network interfaces when running as a HVM guest. > The main benefits of this changes are that Xen virtual interrupts (even= t > channels) are now delivered to the guest using a vector callback > injection, that is a per-cpu mechanism that allows each vCPU to have > different interrupts assigned, so for example network and disk > interrupts are delivered to different vCPUs in order to improve > performance. With this changes FreeBSD also uses PV timers when running > as an HVM guest, which should provide better time keeping and reduce th= e > virtualization overhead, since emulated timers are no longer used. PV > IPIs can also be used inside a HVM guest, but this will be implemented > later. >=20 > Right now the code is in a state where it can be tested by users, so we > would like to encourage FreeBSD and Xen users to test it and provide > feedback. >=20 > The code is available in the following git repository, under the branch > pvhvm_v5: >=20 > http://xenbits.xen.org/gitweb/?p=3Dpeople/royger/freebsd.git;a=3Dsummar= y >=20 > Also, I've created a wiki page that explains how to set up a FreeBSD > PVHVM for testing: >=20 > http://wiki.xen.org/wiki/Testing_FreeBSD_PVHVM I tried on my Linux box to do this: HEAD is now at 9b25356... xen-netfront: fix detach of network interfaces konrad@phenom:~/git/freebsd$ make kernel-toolchain && make buildkernel KE= RNCONF=3DXENHVM && make installkernel KERNCONF=3DXENHVM Makefile:123: *** missing separator. Stop. As I thought it would compile the same way you can compile NetBSD - that = is even on non-BSD distros. Is that not the case? Should I only do this unde= r a FreeBSD guest?