From owner-freebsd-virtualization@freebsd.org Tue May 3 22:28:18 2016 Return-Path: Delivered-To: freebsd-virtualization@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 00FEDB2CA7A for ; Tue, 3 May 2016 22:28:17 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (m.saper.info [IPv6:2a01:4f8:a0:7383::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "m.saper.info", Issuer "Marcin Cieslak 2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EE3711EE for ; Tue, 3 May 2016 22:28:17 +0000 (UTC) (envelope-from saper@saper.info) Received: from m.saper.info (saper@m.saper.info [IPv6:2a01:4f8:a0:7383::]) by m.saper.info (8.15.2/8.15.2) with ESMTPS id u43MS0OT062720 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 3 May 2016 22:28:00 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1462314480; bh=7Is46d8BiyvfE9WD/YS1zOsQ2qrlnJ77Lof8vFspygA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=IM6/Yx5pwulksI86iz4vr7PlXXbV6eU/fCTA3cL4tRaSpXYmGzoQGCu9AlO6bmqwu lHZ0NqkdsyzZN3QzTF5oOja0aSDqvHSXOQ9qDx00hzv0qE8JIUK3PIOCUR45iSwWzZ axHFjgIApGhX9nj/emCQW/kSBXiW2B4NAoOOP/zY= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id u43MRwjX062717; Tue, 3 May 2016 22:27:59 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Tue, 3 May 2016 22:27:58 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= cc: freebsd-virtualization@freebsd.org, Ross McKelvie Subject: Re: Booting Windows/UEFI In-Reply-To: <20160426093556.oxeh5qyafe3ro6xy@mac> Message-ID: References: <20160425084714.64ejioyqgquwu4gw@mac> <20160426071151.ctzdaehgfhzij6q3@mac> <20160426074302.4i3rv7wd5ogg7ful@mac> <20160426093556.oxeh5qyafe3ro6xy@mac> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 03 May 2016 22:28:18 -0000 On Tue, 26 Apr 2016, Roger Pau Monné wrote: > On Tue, Apr 26, 2016 at 09:24:30AM +0000, Marcin Cieslak wrote: > > I got lazy and I have downloaded > > > > https://sourceforge.net/projects/edk2/files/OVMF/OVMF-X64-r15214.zip/download > > > > recompiled xen-tools by adding to xen-tools/Makefile > > > > CONFIGURE_ARGS+= --enable-ovmf > > CONFIGURE_ARGS+= --with-system-ovmf=/root/xen/OVMF.fd > > > > and worked pretty much out of the box. > > Oh, thanks for the info, I didn't know OVMF provided pre-compiled binaries. > This should make adding a OVMF port trivial. Would you like to take a stab > at adding such a port and wiring it into the xen-tools package? As I just found out, there are already submitted port from Ross McKelvie (CC'd): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192012 This is not only binary firmware - Ross ported also a whole toolkit! On my amd64 machine both firmwares (ia32 and x64) can be used to boot Windows via Xen, so maybe we could make Xen depend on the ia32 port and use --with-system-ovmf=${LOCALBASE}/share/tianocore-ovmf-ia32/OVMF.fd Would that be possible to commit the port? Marcin