If you’re running macOS with QEMU, you’ll notice that the UI might be slow. This is because, by default, QEMU will use a basic display adapter with low display memory (VRAM). There’s two ways to fix this problem: Pass-through your GPU with vfio Use another display adapter, such as VMsvga2 This post will focus on… Continue reading VMsvga2
Category: OSX
Resizing an OSX VM with apfs and QEMU
Looking to resize an existing qcow2 or raw data volume with QEMU? I had to do the same thing and went through some trouble in trying to do this. My first idea was to use GParted and boot from the live-cd iso to extend the apfs partition. However, it turns out that GParted does not… Continue reading Resizing an OSX VM with apfs and 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