Skip to content

Add support for native QEMU for Windows (WSL)

Problem: Windows users can successfully build OS using WSL. But inside WSL QEMU can only be run without VGA and without hardware support of virtualization.

Solution:

  • Determine installation directory of native Windows QEMU using "reg.exe query 'HKLM\Software\QEMU <...>'
  • Run native Windows QEMU binary (%ProgramFiles%\qemu\qemu-system-x86_64.exe) with "-accel whpx" and other compatible options.

TODOs:

  • QEMU is supported only version 6.x. It is possible to make support for versions 5.x

State: Ready for review

Edited by Aleksey R. (aka EreTIk)

Merge request reports