macOS-KVM
KVM-Opencore
Our great sponsors
macOS-KVM | KVM-Opencore | |
---|---|---|
12 | 36 | |
111 | 1,138 | |
- | - | |
2.6 | 2.8 | |
over 2 years ago | about 1 month ago | |
Shell | Makefile | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
macOS-KVM
-
I really love using OpenCore Auxiliary Tools, so I wrote a little introductory guide
Does this guide solely focus on a bare metal install, or can I apply it to Hackintosh in virtual machines too? Used bare-metal for a few years but I’ve been trying to get a personalized kvm/OC config for my Monterey & Big Sur guests in proxmox 7. Both macOS versions boot and are decent but I do wish a host-setup like; https://github.com/johncolby/macOS-KVM. Instead of the more general approach; https://github.com/thenickdude/KVM-Opencore, https://github.com/Leoyzen/KVM-Opencore . Not to discredit either of them, I wouldn’t have a booting macOS without their guidance, but I’d like to tinker with it a bit further
- Anyone got any good guides for making a VM work on AMD hardware?
-
Consider VFIO for Hackintosh
You can look at this resource - https://github.com/johncolby/macOS-KVM. He links a couple of other guides- you should start with them first.
-
Mini-ITX build questions
I went with a different case, AMD mini-ITX motherboard, and KVM VM rather than bare metal hackintosh, but if you want to check out my setup it is here: https://github.com/johncolby/macOS-KVM https://pcpartpicker.com/b/ZGn7YJ
- Single GPU Passthrough - AMD RX 5600 XT - VM crash on startup
- hey mini-ITX owner's, what's your build?
- Help
- single amd gpu passthrough tutorial
-
Tried All Troubleshooting Steps But Could Not Get
i boot using opencore 0.6.5 with the config.plist from https://github.com/johncolby/macOS-KVM
-
Flawless Big Sur 11.1 upgrade of OC KVM/QEMU Ryzen build
https://github.com/johncolby/macOS-KVM/blob/feda3a501292df66c8d3930c312f0baaa3b3fa5f/EFI/OC/config.plist#L391
KVM-Opencore
-
Ventrua on Proxmox with GPU passthrough, Couldn't alloc class "AppleKeyStoreTest"
The EFI folder is the same as v20 here
- MacOS Ventura VM Safari not loading properly / rendering issue.
-
Ventura Installation: vm_shared_region_start_address() failed
Build v19 from u/thenickdude
-
Suggestions for VGA mode
#!/usr/bin/env bash # Special thanks to: # https://github.com/Leoyzen/KVM-Opencore # https://github.com/thenickdude/KVM-Opencore/ # https://github.com/qemu/qemu/blob/master/docs/usb2.txt # # qemu-img create -f qcow2 mac_hdd_ng.img 128G # # echo 1 > /sys/module/kvm/parameters/ignore_msrs (this is required) ############################################################################ # NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems! ############################################################################ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" # This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with # macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6. ALLOCATED_RAM="7096" # MiB CPU_SOCKETS="1" CPU_CORES="8" CPU_THREADS="8" REPO_PATH="." OVMF_DIR="." # shellcheck disable=SC2054 args=( -enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS" -machine q35 -usb -device usb-kbd -device usb-tablet -smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS" -device usb-ehci,id=ehci # -device usb-kbd,bus=ehci.0 # -device usb-mouse,bus=ehci.0 -device nec-usb-xhci,id=xhci -global nec-usb-xhci.msi=off # -device usb-host,vendorid=0x8086,productid=0x0808 # 2 USD USB Sound Card # -device usb-host,vendorid=0x1b3f,productid=0x2008 # Another 2 USD USB Sound Card # -device vfio-pci,host=3:00.0,bus=pcie.0 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -drive if=pflash,format=raw,readonly=on,file="$REPO_PATH/$OVMF_DIR/OVMF_CODE.fd" -drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1024x768.fd" -smbios type=2 -device ich9-intel-hda -device hda-duplex -device ich9-ahci,id=sata -drive id=OpenCoreBoot,if=none,snapshot=on,format=qcow2,file="$REPO_PATH/OpenCore/OpenCore.qcow2" -device ide-hd,bus=sata.2,drive=OpenCoreBoot -device ide-hd,bus=sata.3,drive=InstallMedia -drive id=InstallMedia,if=none,file="$REPO_PATH/BaseSystem.img",format=raw -drive id=MacHDD,if=none,file="$REPO_PATH/mac_hdd_ng.img",format=qcow2 -device ide-hd,bus=sata.4,drive=MacHDD # -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -netdev user,id=net0 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # Note: Use this line for High Sierra -monitor stdio -device VGA,vgamem_mb=128 ) qemu-system-x86_64 "${args[@]}"
- Proxmox Bootloop macos 13
- MacOS KVM GPU Passthrough Hangs
-
Catalina on the desktop proxmox?
If that's my OpenCore ISO, I rechecked High Sierra recently with v18 and it boots fine.
-
Bare Metal vs Virtualization dual boot
The mid/hard way would be to have a powerful PC like I did recently, switch to Linux as the host, and use it as your main OS and then for specific stuff, turn on the Windows or OSX machines. The problem here is that you have to deal with Linux and its quirks... editing files with the terminal, sudo, setting up QEMU, editing the libvirt XML files (or create your own bash scripts for QEMU) and so on... It feels like a hassle sometimes, and getting OSX to work in a virtual environment is a hit or miss - there's a few projects out there that can help) but then getting them to work is like running a command and having it contained in its own "window" and you can also share files between the host and the VM almost seamlessly.
- Windows 10 on MacOS Host?
-
anyone able to boot big sur on coreboot/tianocore? i get reboots maybe because of bad dsdt in coreboot
What are you using to create VM? You don't need to configure these two: macOS Simple KVM OpenCore KVM
What are some alternatives?
OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.
macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
ryzen-hackintosh - OpenCore EFI for AMD Ryzen Hackintosh
AMD_Vanilla - Native AMD macOS via OpenCore
barrier - Open-source KVM software
OSX-KVM - Personal fork for testing
Single-GPU-Passthrough
vendor-reset - Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c
ryzentosh - OpenCore Configuration for Ryzen 3950x with ASUS Crosshair VIII Hero (Wi-Fi) X570
OSX_GVT-D - Guide to pass iGPU to MacOS KVM guest.
quickemu - Quickly create and run optimised Windows, macOS and Linux desktop virtual machines.
OpenCorePkg - OpenCore bootloader