8000
Skip to content

Re-add OpenCore patches for disabling VM detection - #273

Open
farmerbb wants to merge 1 commit into
kholia:masterfrom
farmerbb:master
Open

Re-add OpenCore patches for disabling VM detection#273
farmerbb wants to merge 1 commit into
kholia:masterfrom
farmerbb:master

Conversation

@farmerbb
Copy link
Copy Markdown

This PR re-adds the VM detection patches that were contributed in #264 but removed (accidentally?) in commit 4c378a4. OpenCore.qcow2 was also regenerated with the same changes.

gmipf added a commit to gmipf/OSX-KVM that referenced this pull request Jul 13, 2026
Restores the two kern.hv_vmm_present kernel patches from PR kholia#264
(merged 2026-01-26 05:00:33Z), which commit 4c378a4 clobbered ten
minutes later by replacing config.plist wholesale with the file from
LongQT-sea/OpenCore-ISO -- a config that carries no kernel patches by
design.

Plist hunk taken verbatim from PR kholia#273 (farmerbb). The regenerated
OpenCore.qcow2 from that PR is deliberately NOT used; we rebuild the
image from this config.plist via opencore-image-ng.sh instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
gmipf added a commit to gmipf/OSX-KVM that referenced this pull request Jul 13, 2026
Regenerated with opencore-image-ng.sh rather than importing the binary
from PR kholia#273, so the image stays reproducible from the tracked
config.plist and the EFI tree in this repo.

Verified by reading /EFI/OC/config.plist back out of the built image:
sha256 matches OpenCore/config.plist byte for byte, SMBIOS is MacPro7,1,
and all three kernel patches (TRIM + hv_vmm_present 1/2 and 2/2) are
enabled.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0