From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: FreeBSD PVHVM call for testing Date: Tue, 21 May 2013 13:40:09 -0400 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-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <519131D8.9010307@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: "freebsd-xen@freebsd.org" , xen-devel , "freebsd-virtualization@freebsd.org" , "xen-users@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, May 13, 2013 at 08:32:56PM +0200, Roger Pau Monn=E9 wrote: > Hello, > = > 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 bring > 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 (event > 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 the > 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. > = > 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. > = > The code is available in the following git repository, under the branch > pvhvm_v5: > = > http://xenbits.xen.org/gitweb/?p=3Dpeople/royger/freebsd.git;a=3Dsummary > = > Also, I've created a wiki page that explains how to set up a FreeBSD > PVHVM for testing: > = > 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 KERN= CONF=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 under a FreeBSD guest?