XEN with UEFI guest
Oleg Ginzburg
olevole at olevole.ru
Sun Mar 14 20:30:47 UTC 2021
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 at 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.
More information about the freebsd-xen
mailing list