[Bug 273560] sysutils/edk2: bhyve flavor causes windows VMs to fail to boot after update to 202308

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Sep 2023 05:49:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273560

--- Comment #10 from Corvin Köhne <corvink@FreeBSD.org> ---
I'm unable to reproduce the issue yet. I'm running 14.0-ALPHA4. Will retry with
a 13.2 system.

Looks like UEFI fails to install ACPI tables. It might be helpful to create a
debug log to further investigate the issue:

diff --git a/sysutils/edk2/Makefile b/sysutils/edk2/Makefile
index cb6ed51d0105..32e8f63435c7 100644
--- a/sysutils/edk2/Makefile
+++ b/sysutils/edk2/Makefile
@@ -114,7 +114,8 @@ ONLY_FOR_ARCHS=     amd64
 ONLY_FOR_ARCHS_REASON= Bhyve only runs on x64
 PLAT=          bhyve
 PLAT_ARCH=     X64
-PLAT_TARGET=   RELEASE
+PLAT_TARGET=   DEBUG
+PLAT_ARGS+=    -D DEBUG_ON_SERIAL_PORT=TRUE
 PLATFILE=      OvmfPkg/Bhyve/BhyveX64.dsc
 PLAT_RESULT=   BhyveX64/${PLAT_TARGET}_GCC5/FV/BHYVE.fd
 PLAT_RESULT_CODE=      BhyveX64/${PLAT_TARGET}_GCC5/FV/BHYVE_CODE.fd

-- 
You are receiving this mail because:
You are the assignee for the bug.