Tested on 2023/1/6
/etc/pve/qemu-server/<VM-ID>.conf
Warning: The following
args
are for AMD CPU only
Install Windows 11 (installed with TPM, CPU, RAM & SecureBoot Bypass)
Enable Hyper-V, Windows Hypervisor Platform and Virtual Machine Platform in Windows Features
Clone and build MagiskOnWSALocal
Warning: You may not able to install WSA directly from Microsoft Store
Unzip and run Run.bat
Enjoy
If you can run Hyper-V and WSL2, then you should be able to run WSA too.