Someone has definitely figured out how to do this but in case someone hasn’t. I got a Windows 11 VM running on the MNT Reform.
#!/bin/bash
taskset -c "0,1,2,3" \
qemu-system-aarch64 \
-display sdl,gl=on \
-cpu host \
-M virt \
-enable-kvm \
-m 4G \
-smp 2 \
-bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd \
-hda win.qcow2 \
-device qemu-xhci \
-device ramfb \
-device usb-storage,drive=install \
-drive if=none,id=install,format=raw,media=cdrom,file=win11.iso \
-device usb-storage,drive=virtio-drivers \
-drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=virtio-win.iso \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0 \
-audio driver=pipewire,model=virtio \
-device usb-kbd \
-device usb-tablet \
-nic user,model=virtio-net-pci
The files:
.
└── win11
├── virtio-win.iso
├── win11.iso
├── win.qcow2
└── win.sh
If someone wants more info, just ask in the comments, but basically I adapted this guide from asahi linux ( How to create a Windows 11 VM - Asahi Linux Documentation )
“In the “Select location to install Windows 11”, no drives are shown. Fix this by clicking “Load Driver”, “Browse”, expand the virtio-win drive, and select viostor → w11 → ARM64. Click OK. Select the “Red Hat VirtIO SCSI controller” that appears, and click install.”
