timdoug's tidbits
2020-04-19
Running a Windows 10 virtual machine with QEMU on macOS
Microsoft distributes a freely available image, but there are a few steps necessary for it to work with QEMU.
- Download the VirtualBox image and unzip.
- The .ova file is a tarball; extract.
- The .vmdk file is compressed, in a format to which QEMU can't write, resulting in Could not write to allocated cluster for streamOptimized errors. Convert to qcow2 with qemu-img.
- Start a modern system, using Hypervisor.framework, 4GB of RAM, and userland networking forwarding the RDP port as the VGA driver is functional but suboptimal:
qemu-system-x86_64 -machine q35 -accel hvf -m 4096 -nic user,hostfwd=tcp:127.0.0.1:3389-:3389 -hda WinDev2003Eval-disk001.qcow2
[/osx]
permanent link