Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 23:30:33 +0300
From:      Oleg Ginzburg <olevole@olevole.ru>
To:        freebsd-xen@freebsd.org
Subject:   XEN with UEFI guest
Message-ID:  <CAMsb%2BmY_3dFJxf1_c-QHmTZT8JkPwdzrFuk-EooMznLMdpGaLg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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"
SPICE_BUILD_DEPENDS=   spice-protocol>=0.12.10:devel/spice-protocol
SPICE_LIB_DEPENDS=     libspice-server.so:devel/libspice-server

--

However, the guest does not start if I add the necessary option to the
configuration file:

bios='ovmf'


In addition, I do not see anything suspicious in the log:
https://pastebin.com/Ss2YK25b

Any help and tip is welcome.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMsb%2BmY_3dFJxf1_c-QHmTZT8JkPwdzrFuk-EooMznLMdpGaLg>