Date: Mon, 15 Mar 2021 09:48:44 +0100 From: Roger Pau =?utf-8?B?TW9ubsOp?= <roger.pau@citrix.com> To: Oleg Ginzburg <olevole@olevole.ru> Cc: <freebsd-xen@freebsd.org> Subject: Re: [PROMOTIONAL]XEN with UEFI guest Message-ID: <YE8fbEL0vW4GSI17@Air-de-Roger> In-Reply-To: <CAMsb%2BmY_3dFJxf1_c-QHmTZT8JkPwdzrFuk-EooMznLMdpGaLg@mail.gmail.com> References: <CAMsb%2BmY_3dFJxf1_c-QHmTZT8JkPwdzrFuk-EooMznLMdpGaLg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 14, 2021 at 11:30:33PM +0300, Oleg Ginzburg wrote: > Hi, > > I recently tried to use the Xen dom0 through UEFI loader and, finally, it > worked! (Thanks to Roger). > > Now I try to use UEFI boot method in the guest and for some reason, the > domain does not start. > The documentation says that this option requires extra config params, so I > added an option to port: > > -- > root@home2:/usr/ports/sysutils/xen-tools# svnlite diff > Index: Makefile > =================================================================== > --- Makefile (revision 568404) > +++ Makefile (working copy) > @@ -21,12 +21,14 @@ > BUILD_DEPENDS= seabios>0:misc/seabios > RUN_DEPENDS= seabios>0:misc/seabios > > -OPTIONS_DEFINE= DOCS SPICE > +OPTIONS_DEFINE= DOCS SPICE OVMF > OPTIONS_DEFAULT= DOCS > OPTIONS_SUB= yes > > SPICE_DESC= Enable SPICE protocol for QEMU > +OVMF_DESC= Enable OVMF support > SPICE_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-spice" > +OVMF_CONFIGURE_WITH= extra-qemuu-configure-args="--enable-ovmf" You are adding the option to the QEMU configure script instead of the Xen one, you likely want: OVMF_CONFIGURE_WITH= enable-ovmf Albeit I think that won't work out of the box because OVMF will fail to build with llvm. So you will likely have to build ovmf separately (like we do for seabios) using gcc and then include it here with --with-system-ovmf=... Thanks, Roger.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YE8fbEL0vW4GSI17>