...
In our example, latest version is 0.1.229266.
EFI
Download latest EFI from https://packages.debian.org/sid/qemu-efi-aarch64 . This will be used to boot windows image. Download package from “all” link, and extract it using:
...
You should now have those files available in current folder:
22621.1Win11_PROFESSIONAL24H2_ARM64EnglishInternational_EN-USArm64.ISOiso
virtio-win-0.1.229266.iso
QEMU_EFI.fd
win11-arm64.img
...
Code Block |
---|
qemu-system-aarch64 \ -M virt,virtualization=true -m 8G -cpu max,pauth-impdef=on -smp 8 \ -bios ./QEMU_EFI.fd\ --accel tcg,thread=multi\ -device ramfb \ -device qemu-xhci -device usb-kbd -device usb-tablet \ -nic user,model=virtio-net-pci \ -device usb-storage,drive=install \ -drive if=none,id=install,format=raw,media=cdrom,file=./22621.1Win11_PROFESSIONAL24H2_ARM64EnglishInternational_EN-USArm64.ISOiso \ -device usb-storage,drive=virtio-drivers \ -drive if=none,id=virtio-drivers,format=raw,media=cdrom,file=./virtio-win-0.1.229266.iso \ -drive if=virtio,id=system,format=raw,file=./win11-arm64.img |
Notes:
...
--accel tcg,thread=multi is to speed up emulation
devices are added for graphics output (ramfb), keyboard/mouse (usb*) and network (-nic)
pauth-impdef=on speeds up pointer authentication https://www.qemu.org/docs/master/system/arm/cpu-features.html#tcg-vcpu-features
...