Howto macOS sonoma kvm
clone the git repo:
git clone --depth 1 --recursive https://github.com/kholia/OSX-KVM.git cd OSX-KVM
kvm need this tweak on the host machine to work:
sudo modprobe kvm; echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
make this change permanent, you may use the following command:
sudo cp kvm.conf /etc/modprobe.d/kvm.conf # for intel boxes only sudo cp kvm_amd.conf /etc/modprobe.d/kvm.conf # for amd boxes onlyn
add user to the kvm and libvirt groups:
sudo usermod -aG kvm $(whoami) sudo usermod -aG libvirt $(whoami) sudo usermod -aG input $(whoami)
fetch macOS installer.
$ ./fetch-macOS-v2.py 1. High Sierra (10.13) 2. Mojave (10.14) 3. Catalina (10.15) 4. Big Sur (11.7) 5. Monterey (12.6) 6. Ventura (13) - RECOMMENDED 7. Sonoma (14) Choose a product to download (1-6): 7