From owner-freebsd-xen@freebsd.org Thu Aug 6 13:21:51 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 E1E7E9B4415 for ; Thu, 6 Aug 2015 13:21:51 +0000 (UTC) (envelope-from prvs=65356f562=roger.pau@citrix.com) 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 CAC6FEF9 for ; Thu, 6 Aug 2015 13:21:51 +0000 (UTC) (envelope-from prvs=65356f562=roger.pau@citrix.com) Received: by mailman.ysv.freebsd.org (Postfix) id C99BC9B4410; Thu, 6 Aug 2015 13:21:51 +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 C92BC9B440F for ; Thu, 6 Aug 2015 13:21:51 +0000 (UTC) (envelope-from prvs=65356f562=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)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73912EF8 for ; Thu, 6 Aug 2015 13:21:51 +0000 (UTC) (envelope-from prvs=65356f562=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.15,622,1432598400"; d="scan'208";a="292021795" Message-ID: <55C35F30.8020309@citrix.com> Date: Thu, 6 Aug 2015 15:20:48 +0200 From: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Karl Pielorz , Subject: Re: Boot FreeBSD 10 in HVM mode under Xen? References: <55BB8392.4050000@citrix.com> <55BB8DB2.6040705@citrix.com> <3544DE5D0E56BBBE05C573B4@[10.12.30.106]> <55C34932.10307@citrix.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-DLP: MIA1 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:21:52 -0000 El 06/08/15 a les 15.06, Karl Pielorz ha escrit: > > --On 06 August 2015 13:46 +0200 Roger Pau Monné > 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 > 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, re-enabled veridian for that VM, and put > 'hw.xen.disable_pv_nics=1' in boot loader. > > I now have a PV disk, but HVM NIC (re0) based machine - that's agile, > and 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 > non-agile "boot as HVM" fix for it). I'm going to let the patch sit here for a while so people can test/comment. Since I'm going on vacations next week, if there are no complains I'm planning to apply it when I'm back on the 17th. Roger.