From owner-freebsd-xen@freebsd.org Thu Aug 6 13:06:40 2015 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92EB19B4FEF for ; Thu, 6 Aug 2015 13:06:40 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0059C0 for ; Thu, 6 Aug 2015 13:06:40 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id 76FF99B4FEE; Thu, 6 Aug 2015 13:06:40 +0000 (UTC) Delivered-To: xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7697D9B4FED for ; Thu, 6 Aug 2015 13:06:40 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from smtp.krpservers.com (smtp.krpservers.com [62.13.128.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.krpservers.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AAA59BF for ; Thu, 6 Aug 2015 13:06:35 +0000 (UTC) (envelope-from kpielorz_lst@tdx.co.uk) Received: from [10.12.30.106] (vpn01-01.tdx.co.uk [62.13.130.213]) (authenticated bits=0) by smtp.krpservers.com (8.14.9/8.14.9) with ESMTP id t76D6AXB042126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Aug 2015 14:06:11 +0100 (BST) (envelope-from kpielorz_lst@tdx.co.uk) Date: Thu, 06 Aug 2015 14:06:07 +0100 From: Karl Pielorz To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , xen@FreeBSD.org Subject: Re: Boot FreeBSD 10 in HVM mode under Xen? Message-ID: In-Reply-To: <55C34932.10307@citrix.com> References: <55BB8392.4050000@citrix.com> <55BB8DB2.6040705@citrix.com> <3544DE5D0E56BBBE05C573B4@[10.12.30.106]> <55C34932.10307@citrix.com> X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 06 Aug 2015 13:06:40 -0000 --On 06 August 2015 13:46 +0200 Roger Pau Monn=C3=A9 = wrote: > Hello, > > Sorry for the delay, as usual I've been busy with a bunch of other > stuff. You can find the patch against HEAD here: > > https://people.freebsd.org/~royger/0001-xen-allow-disabling-PV-disks-and- > nics.patch > > The description is self-explanatory I think. I've not tried to apply it > to stable-10, but I don't think there have been many changes in this > area in general. If you need help backporting it ping me and I will > provide a suitable version. Hi, Thanks for the patch! - I couldn't apply it automatically (not entirely=20 sure what to do with a git diff like that :) - and, the hvm.c part of patch = wouldn't apply cleanly anyway (too much difference). *Having said that* - I applied it by hand to my 10.1-R system, and it seems = to work perfectly. I've put the XENHVM and xenpci back in the kernel,=20 re-enabled veridian for that VM, and put 'hw.xen.disable_pv_nics=3D1' in = boot=20 loader. I now have a PV disk, but HVM NIC (re0) based machine - that's agile, and=20 works with OpenVPN and inter-VM routing. I can post the standard 'diff -u' patchset against 10.1 back to the list if = needed (I know other people had PV NIC issues and were using the same=20 non-agile "boot as HVM" fix for it). Cheers, -Karl