From owner-freebsd-xen@FreeBSD.ORG Sat Dec 14 08:25:16 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29E014A5; Sat, 14 Dec 2013 08:25:16 +0000 (UTC) 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 484C9118A; Sat, 14 Dec 2013 08:25:14 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.95,484,1384300800"; d="scan'208";a="82242671" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 14 Dec 2013 08:25:12 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.2.342.4; Sat, 14 Dec 2013 03:25:12 -0500 Message-ID: <52AC15E8.9050909@citrix.com> Date: Sat, 14 Dec 2013 09:25:12 +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.2.0 MIME-Version: 1.0 To: Colin Percival , Mason Loring Bliss , Subject: Re: XEN vs XENHVM? References: <20131214022355.GX19296@blisses.org> <52ABC23E.4020408@freebsd.org> In-Reply-To: <52ABC23E.4020408@freebsd.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA1 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Dec 2013 08:25:16 -0000 On 14/12/13 03:28, Colin Percival wrote: > On 12/13/13 18:23, Mason Loring Bliss wrote: >> I was psyched to see that GENERIC kernels in 10 have HVMXEN support by >> default, but then I was left a little confused. >> >> What's the different between a kernel with options XEN and one with options >> HVMXEN? > > The XEN option is for *paravirtualized* Xen -- aka. the original version, > before Intel and AMD added virtualization support into their CPUs. HVM > uses "hardware virtualization", but we also use PV drivers where available. > >> I'd love to be able to run FreeBSD domU systems without having to do >> a custom compile whenever there's an update. I've got a 9.1 system running >> now, using a copy of the XEN config with a couple tweaks, and I see all the >> PV drivers I expect. I'm wondering what's different with XENHVM... Also >> useful would be knowing if there are remaining differences between i386 and >> amd64 as a domU in FreeBSD 10. > > You want to switch to using HVM with PV devices. That should be a simple > tweak to your Xen configuration, and then you'll be able to use a GENERIC > kernel. Just as a note, the support in GENERIC is not only HVM with PV devices, is basically a PV guest inside an HVM container, meaning it also uses PV IPIs and PV timers. The main difference between pure PV and PVHVM is that PV requires a PV MMU implementation in the OS, while PVHVM can use a hardware virtualized MMU (because it's running inside of a HVM container). Roger.