Date: Fri, 24 Nov 2023 09:40:06 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 274389] bhyve in 15-CURRENT unable to boot OpenBSD anymore Message-ID: <bug-274389-27103-hsYe0FdNKO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274389-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-274389-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274389 --- Comment #19 from commit-hook@FreeBSD.org --- A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9b7e23c09b6b4c693a89044b1dd848a= edfed0361 commit 9b7e23c09b6b4c693a89044b1dd848aedfed0361 Author: Corvin K=C3=B6hne <corvink@FreeBSD.org> AuthorDate: 2023-11-16 05:58:01 +0000 Commit: Corvin K=C3=B6hne <corvink@FreeBSD.org> CommitDate: 2023-11-24 09:38:53 +0000 sysutils/edk2: set IO port range properly for bhyve Bhyve uses an io port range of [ 0x2000, 0x10000 ] [1]. At the moment, EDKII is using a subset of this range [ 0xC000, 0x10000 ] [2]. Even though the EDKII range doesn't exceed the bhyve range, it's causing issues on some guests like OpenBSD. We don't know why it's causing issues yet. However, using the same IO port range in EDKII fixes the issue. [1] https://github.com/freebsd/freebsd-src/blob/82ea0132c8b17a7a6067c8a36c6434e= 587ede6de/usr.sbin/bhyve/pci_emul.c#L133-L134 [2] https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e5933= 55d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157 PR: 274389 Reviewed by: manu, markj Approved by: manu Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D42627 (cherry picked from commit 231c5bc3a4c964746ccd21f3d44720617dd3d40a) sysutils/edk2/Makefile | 2 +- .../files/patch-OvmfPkg_Bhyve_PlatformPei_Platform.c (new) | 13 +++++++++= ++++ 2 files changed, 14 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274389-27103-hsYe0FdNKO>