[Bug 273560] sysutils/edk2: bhyve flavor causes windows VMs to fail to boot after update to 202308
Date: Wed, 06 Sep 2023 13:18:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273560
--- Comment #13 from Corvin Köhne <corvink@FreeBSD.org> ---
Could you please try the following OVMF patch:
diff --git a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
index fb926a8bd803..4b80c27ff00d 100644
--- a/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
+++ b/OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
@@ -259,19 +259,17 @@ InstallAcpiTables (
BHYVE_BIOS_PHYSICAL_END,
&Rsdp
);
- if (EFI_ERROR (Status)) {
- return Status;
- }
-
- Status = InstallAcpiTablesFromRsdp (
- AcpiTable,
- Rsdp
- );
if (!EFI_ERROR (Status)) {
- return EFI_SUCCESS;
+ Status = InstallAcpiTablesFromRsdp (
+ AcpiTable,
+ Rsdp
+ );
+ if (!EFI_ERROR (Status)) {
+ return EFI_SUCCESS;
+ }
}
- if (Status != EFI_NOT_FOUND) {
+ if (EFI_ERROR (Status)) {
DEBUG (
(
DEBUG_WARN,
@@ -280,7 +278,6 @@ InstallAcpiTables (
Status
)
);
- return Status;
}
Status = InstallOvmfFvTables (AcpiTable);
--
You are receiving this mail because:
You are the assignee for the bug.