|
|
|
|
|
by skissane
1718 days ago
|
|
So my understanding – if you run VirtualBox on macOS, and you choose macOS as Guest OS type when creating your VM, it automatically turns GetKeyFromRealSMC on. That means you are using option (2) by default. You can always switch to option (1) instead if you want to, but if you are virtualising macOS-on-macOS, there is little reason to. From reading the VirtualBox source code [0] – it also automatically enables GetKeyFromRealSMC if it detects Apple hardware, even if the host OS isn't macOS. So, if you install Windows on your Mac, and then create a macOS VM in VirtualBox, it will automatically select option (2) as well. (I think, they actually include the code to talk to the Apple SMC in their Windows and Linux kernel drivers too.) (Note I haven't actually tried doing this myself, this is just what I gather from the source.) [0] https://github.com/mdaniel/virtualbox-org-svn-vbox-trunk/blo... |
|
Not needing to run a kext just to retrieve a known hardcoded string seems like a very good reason.