vmix.nix/lib/images/macos/helpers
Git Sagar 22daf7720c macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc
The OSX-KVM ESP ships Lilu 1.6.8 / VirtualSMC 1.3.3 / WhateverGreen 1.6.7,
which disable themselves on macOS 26; Apple's SMC driver then runs on QEMU's
isa-applesmc stub and the restart path panics (SMCWDT smcWriteKey
kSMCBadCommand → nested panic after MACH Reboot). Overlay pinned current
releases (upstream.json opencore.kexts) and drop isa-applesmc: with the stub
present VirtualSMC steps aside ("multiple devices present"); alone it carries
the OSK and reboots work (PE restart test: 10 s, clean). RestrictEvents with
revpatch=memtab silences MacPro7,1's "Memory Modules Misconfigured".

- makeOpenCore: kext overlay + Kernel.Add entries for overlaid kexts,
  --memory-mb (4 DIMMs), bootArgs default revpatch=memtab
- qemu.nix: deviceArgsFor { appleSmc } (default false); cli: --applesmc for
  images built before this change
- vm-driver: reboot-death detection (reset 60 s after a guest reboot request
  that never comes back), panics wait for XNU's own auto-reboot, debug dir
  works across nixbld users
- generalize: QEMU USB keyboard declared ANSI (no Keyboard Setup Assistant)
- README: architecture, reliability handling, debugging

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsESshRCoBoUVWV9qKURUF
2026-09-10 13:33:38 -03:00
..
customizeImage.nix macOS: drive the install and all customization from a Recovery "PE", no GUI 2026-09-10 13:33:38 -03:00
fetchRecovery.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
ident.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
installBootloader.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
installerPayload.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
macserial.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
makeBootDisk.nix macOS: drive the install and all customization from a Recovery "PE", no GUI 2026-09-10 13:33:38 -03:00
makeImage.nix macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc 2026-09-10 13:33:38 -03:00
makeOpenCore.nix macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc 2026-09-10 13:33:38 -03:00
makeRecoveryPE.nix macOS: drive the install and all customization from a Recovery "PE", no GUI 2026-09-10 13:33:38 -03:00
makeVmixVolume.nix macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00
oc-config.py macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc 2026-09-10 13:33:38 -03:00
qemu.nix macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc 2026-09-10 13:33:38 -03:00
vm-driver.py macOS: current Lilu/VirtualSMC/WhateverGreen/RestrictEvents, no isa-applesmc 2026-09-10 13:33:38 -03:00
vmix-readback.nix macOS: drive the install and all customization from a Recovery "PE", no GUI 2026-09-10 13:33:38 -03:00
xar-toc.py macOS Tahoe VM images (OpenCore/QEMU), Apple-ID compatible, VNC 2026-09-10 13:33:38 -03:00