How foxlet/macos-simple-kvm works
macOS-Simple-KVM is a shell-script toolkit for downloading macOS installation media and running a macOS virtual machine in QEMU with KVM acceleration. The principal workflow is to obtain installation media, create a virtual disk, launch the installer, and then tune or access the VM. It also offers a Virt-Manager setup path and a headless VNC launch option. The README documents these user-facing paths; source excerpts show the media fetcher’s internal stages, but not how the shell scripts invoke one another or QEMU.
Main entry points: fetch-macos.py macOS fetcher · jumpstart.sh Media setup · basic.sh QEMU launcher · headless.sh Headless launcher
Components 18
Installation media
- Media setup
jumpstart.sh - macOS fetcher
tools/FetchMacOS/fetch-macos.py - Apple Software Update
- Installer packages
- DMG conversion
tools/dmg2img
VM launch
- QEMU launcher
basic.sh - QEMU and KVM
- VM disk image
ESP.qcow2 - Headless launcher
headless.sh - Virt-Manager setup
make.sh
VM configuration
- Network configuration
docs/guide-networking.md - Hardware passthrough
docs/guide-passthrough.md - Performance tuning
docs/guide-performance.md - Screen resolution
docs/guide-screen-resolution.md - VirtIO setup
virtio.sh
Setup guidance
- FAQs
docs/FAQs.md - Apple ID guide
docs/guide-Apple-ID.md
Other components
- VM operator
Connections 17
- VM operator → Media setup: runs
README.md - Media setup → Installer packages: downloads media
README.md - VM operator → macOS fetcher: runs
- macOS fetcher → Apple Software Update: requests catalogs
tools/FetchMacOS/fetch-macos.py - macOS fetcher → Installer packages: downloads packages
tools/FetchMacOS/fetch-macos.py - VM operator → DMG conversion: converts DMG
README.md - VM operator → QEMU launcher: runs
README.md - VM operator → VM disk image: creates disk
README.md - QEMU launcher → QEMU and KVM: starts VM
README.md - VM operator → Headless launcher: runs
README.md - Headless launcher → QEMU and KVM: starts VM
README.md - VM operator → Virt-Manager setup: imports setup
README.md - VM operator → Network configuration: consults
README.md - VM operator → Hardware passthrough: consults
README.md - VM operator → Performance tuning: consults
README.md - VM operator → Screen resolution: consults
README.md - VM operator → FAQs: consults
README.md