Apple’s Content Caching is not available when running OSX in a VM.
It seems Apple is detecting if it’s running inside a VM:
$ sudo /usr/bin/AssetCacheManagerUtil activate
AssetCacheManagerUtil[] Failed to activate content caching: Error Domain=ACSMErrorDomain Code=5 "virtual machine"...
To get around this, you can patch the kernel to remove the cpuid features check:
- First disable SIP
- Next:
sudo mount -uw / kernel_autopatcher.py /System/Library/Kernels/kernelsudo kextcache -i /
Reference: https://github.com/kholia/OSX-KVM/blob/master/reversing-notes.md