Hyper-V Enlightenments with Libvirt

With Windows 10, it’s helpful to enable Hyper-V Enlightenments, to save CPU and increase VM responsiveness. To use these enlightenments, edit your libvirt xml: <features> <acpi/> <apic/> <pae/> <hyperv> <relaxed state=’on’/> <vapic state=’on’/> <spinlocks state=’on’ retries=’8191’/> <vpindex state=’on’/> <synic state=’on’/> <stimer state=’on’/> <reset state=’on’/> </hyperv> </features> More information available on https://fossies.org/linux/qemu/docs/hyperv.txt Another interesting note: if… Continue reading Hyper-V Enlightenments with Libvirt

Published
Categorized as QEMU

Content Caching on OSX VMs

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: 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/kernel sudo kextcache -i / Reference: https://github.com/kholia/OSX-KVM/blob/master/reversing-notes.md

Published
Categorized as OSX Tagged