pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lima: Do not force legacy bios



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Sep 8 16:13:42 2025 +0200
Changeset:	369a04974caab3249ea0e3eaf745babf80b8cb0f

Modified Files:
	lima/Makefile

Log Message:
lima: Do not force legacy bios

Recent qemu should be patched and fine with UEFI too.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=369a04974caab3249ea0e3eaf745babf80b8cb0f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lima/Makefile | 17 -----------------
 1 file changed, 17 deletions(-)

diffs:
diff --git a/lima/Makefile b/lima/Makefile
index 0bf30d6df6..5f3bf45ea6 100644
--- a/lima/Makefile
+++ b/lima/Makefile
@@ -18,23 +18,6 @@ MAKE_FLAGS+=	VERSION=${GITHUB_TAG}
 .include "../../lang/go/go-vars.mk"
 .include "../../mk/bsd.prefs.mk"
 
-#
-# XXX: When using UEFI instead of legacy BIOS on NetBSD with NVMM QEMU aborts as
-# XXX: follows:
-# XXX:
-# XXX: qemu-system-x86_64: NVMM: Mem Assist Failed [gpa=0xfffffff0]
-# XXX: qemu-system-x86_64: NVMM: Failed to execute a VCPU.
-# XXX:
-# XXX: Force legacy BIOS to avoid that.
-#
-.if ${OPSYS} == "NetBSD"
-SUBST_CLASSES+=			legacy-bios
-SUBST_STAGE.legacy-bios=	pre-configure
-SUBST_MESSAGE.legacy-bios=	Force to use legacy BIOS on NetBSD
-SUBST_FILES.legacy-bios+=	templates/default.yaml
-SUBST_SED.legacy-bios+=		-e 's/legacyBIOS: null/legacyBIOS: true/'
-.endif
-
 do-build:
 	cd ${WRKSRC} && \
 	${RUN} ${_ULIMIT_CMD} \


Home | Main Index | Thread Index | Old Index