You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Tart is using Apple's Virtualization.Framework under the hood, we're limited to the devices already implemented by that framework.
As a result, support for Windows can only happen when either (1) Virtualization.Framework implements/emulates devices needed for proper Windows functioning, or (2) Windows implements drivers needed to run in virtualized Apple Silicon environments.
However, using Hypervisor.Framework in Tart means we have to implement all the Virtual I/O and other devices ourselves. This is a relatively big task.
Also, there's no feature parity between Virtualization.Framework and Hypervisor.Framework: you cannot run macOS guests using Hypervisor.Framework. Same if we were to simply invoke QEMU commands from Tart.
It's possible to combine more than one framework/program invocation in Tart indeed, but a more in-depth investigation is needed on how the overall UX of Tart will be affected and whether the additional complexity will be worth it.
I got Windows 11 and Windows Server 2025 (ARM64) booting under tart while staying on Virtualization.framework, with no switch to Hypervisor.framework and no custom devices. It takes three pieces:
private switches on VZGenericPlatformConfiguration: PMU emulation is the one that matters, and Windows doesn't boot without it. The fork also sets fine-grained traps emulation, which turned out not to be needed, and I'll drop it
a 7 KB UEFI driver that gives Boot Manager a framebuffer
an unattended installer that applies the image with WinPE and DISM, because Windows Setup itself fails here
virtio-win provides the drivers for disk, network, display and virtio-fs, and I ported tart-guest-agent so tart exec and the clipboard work.
The main risk is that private switch: it's undocumented, and Apple could rename or remove it in any macOS release. The fork checks for it at runtime and refuses Windows VMs if it's missing, but I'm not sure how comfortable you'd be shipping something that depends on it. Maybe behind an experimental flag, or not at all.
Activity
edigaryev commentedon Sep 15, 2025
Since Tart is using Apple's Virtualization.Framework under the hood, we're limited to the devices already implemented by that framework.
As a result, support for Windows can only happen when either (1) Virtualization.Framework implements/emulates devices needed for proper Windows functioning, or (2) Windows implements drivers needed to run in virtualized Apple Silicon environments.
bbqsrc commentedon Sep 15, 2025
But, it is possible! I have been using aarch64 Windows on macOS using
hvfwithqemu:edigaryev commentedon Sep 15, 2025
It is possible with Hypervisor.Framework (which QEMU uses on Darwin), yes.
However, using Hypervisor.Framework in Tart means we have to implement all the Virtual I/O and other devices ourselves. This is a relatively big task.
Also, there's no feature parity between Virtualization.Framework and Hypervisor.Framework: you cannot run macOS guests using Hypervisor.Framework. Same if we were to simply invoke QEMU commands from Tart.
It's possible to combine more than one framework/program invocation in Tart indeed, but a more in-depth investigation is needed on how the overall UX of Tart will be affected and whether the additional complexity will be worth it.
bbqsrc commentedon Sep 15, 2025
Oh, I'm sorry! I did not even notice that Hypervisor.framework and Virtualization.framework are different frameworks.
This makes sense then.
mustafaakin commentedon Oct 1, 2026
I got Windows 11 and Windows Server 2025 (ARM64) booting under tart while staying on Virtualization.framework, with no switch to Hypervisor.framework and no custom devices. It takes three pieces:
VZGenericPlatformConfiguration: PMU emulation is the one that matters, and Windows doesn't boot without it. The fork also sets fine-grained traps emulation, which turned out not to be needed, and I'll drop itvirtio-win provides the drivers for disk, network, display and virtio-fs, and I ported tart-guest-agent so
tart execand the clipboard work.The main risk is that private switch: it's undocumented, and Apple could rename or remove it in any macOS release. The fork checks for it at runtime and refuses Windows VMs if it's missing, but I'm not sure how comfortable you'd be shipping something that depends on it. Maybe behind an experimental flag, or not at all.
Write-up: https://mustafaakin.dev/blog/windows-on-tart/
Fork: https://github.com/mustafaakin/tart/tree/windows-guest-extras
Preview build: https://github.com/mustafaakin/tart/releases/tag/windows-preview-0.1.0
Happy to discuss further before opening a PR, and to split it up if only some parts are useful upstream, e.g. the guest agent port.
fkorotkov commentedon Oct 2, 2026
Wow! We need to investigate! Awesome work!