Jump to content
3 posts in this topic

Recommended Posts

I'm having difficulty in having either the VirtualSMC kext or FakeSMC kext load properly when running a macOS Sequoia virtual machine.

 

In case it's relevant, the VM is being run through Proxmox 6.14.

 

Specifically: I understand that using VirtualSMC or FakeSMC negates the need to use the following boot argument in the VM:

 

-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"

 

But, if the boot argument is removed, Sequoia does not boot and displays the following SMC error:

 

'AppleKeyStore": 12667:152: operation failed (sel: 7 ret: e00002f0, -1)

 

Unless I am mistaken, this implies that the VirtualSMC or FakeSMC kexts are not being loaded properly.

 

This only became an issue with Sequoia 15.4+, which caused high CPU usage due to an infinite loop of logging SMC errors (see here). I've tried using the latest versions of VirtualSMC (1.3.6) or FakeSMC (3.5.6) which solve the SMC logging error problems in pure Hackintoshes. But, these errors are present when using a VM:

 

2025-06-13 11:53:54.753 E kernel [0:898] kernel [0:898 (AppleSMC) AppleSMCFamily::handleSMCResult ERROR in smcGetKeyFromIndexPM1O. 5517 kSMCBadCommand (0x82)

 

In the config.plist file, VirtualSMC or FakeSMC is the 2nd kext to be loaded (after Lilu)

 

Would anyone have any pointers as to how to load VirtualSMC / FakeSMC properly when using a VM? For now, I'm using a forked version of RestrictEvents to disable PerfPowerServices (thanks @miliuco for your comment on this! Really helpful and saved me hours of trying to figure it out), but I'm not sure if this is a good long term solution.


In case it's relevant, I'm using the following

 

SMBIOS: MacPro7,1

 

SSDTs (excluding the SSDT-prefix)

DMAC

DTGP

EC

EHCI

HPET

PLUG

PMC

SBUS-MCHC

 

Kexts
AGPMInjector
AppleALC
CPUFriend
CPUFriendDataProvider
CryptexFixup
VirtualSMC or FakeSMC
Lilu
MCEReporterDisabler
NVMeFix
RestrictEvents
USBInjectAll
USBPorts
WhateverGreen

 

boot-args
-v swd_panic=1 keepsyms=1 watchdog=0 debug=0x100 unfairgva=1

 

VM args:
args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device qemu-xhci -device usb-kbd -device usb-tablet -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu 'host,vendor=GenuineIntel,+invtsc,+hypervisor,vmware-cpuid-freq=on'

 

 

Thank you so much for any pointers!

  • Like 1
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...