Howto macOS sonoma kvm

From Vidalinux Wiki
Revision as of 19:11, 30 May 2024 by Mandulete1 (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)