From owner-freebsd-virtualization@freebsd.org Tue Apr 26 10:39:14 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 6D75DB1CAAF for ; Tue, 26 Apr 2016 10:39:14 +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 DFF541A2E for ; Tue, 26 Apr 2016 10:39:13 +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 u3QAd78x084540 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 Apr 2016 10:39:07 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Sep2014; t=1461667147; bh=9aFgiHay3DlYaEDNvhl2in+/gv/Qv+d1Vx/n2lQCaFs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=hhE5RJDSN4c+2eaaQcg11jzRzsAHg1U8gniE2WpkaZ2djwNCpA4Qg2v9RmNMoF6l6 T+JR69cvr5H9bM+FjqN9wthBKnt7C0hjbcPbbxHXh05J7tQusazYl38oRlLiUNTLGT xXsiPQrFVlp460RBXVfMV+nWhUpE1VPrQB6BZSx4= Received: from localhost (saper@localhost) by m.saper.info (8.15.2/8.15.2/Submit) with ESMTP id u3QAd6Aa084537; Tue, 26 Apr 2016 10:39:06 GMT (envelope-from saper@saper.info) X-Authentication-Warning: m.saper.info: saper owned process doing -bs Date: Tue, 26 Apr 2016 10:39:06 +0000 From: Marcin Cieslak To: =?ISO-8859-15?Q?Roger_Pau_Monn=E9?= cc: freebsd-virtualization@freebsd.org Subject: Re: Booting Windows/UEFI (was Re: Booting r298488 as Xen Dom0 may break ZFS pool?) 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.21 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, 26 Apr 2016 10:39:14 -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? Yes, should be easy. Will try to plug a binary port in. By the way, I just managed to crash a whole machine by trying to boot Solaris 11.3: # builder = "hvm" memory = 2048 vcpus = 1 name = "Solaris0" disk = [ 'file:/root/sol-11_3-text-x86.iso,6:cdrom,r', '/dev/zvol/zroot/solaris0,raw,hda,w' ] kernel = "/root/xen/solaris/unix" ramdisk = "/root/xen/solaris/boot_archive" extra = "/platform/i86xpv/kernel/amd64/unix -B console=ttya,livemode=text" #boot = "c" usbdevice = 'tablet' vnc = 1 vnclisten = '0.0.0.0' vif = [ 'bridge=bridge0' ] /root/xen/solaris/unix and /root/xen/solaris/boot_archive where extracted from sol-11_3-text-x86.iso ("Intel text-only image"). Marcin