https://learn.microsoft.com/en-us/windows/wsl/install
sudo apt install attr
For Ubuntu
[boot]
systemd=true
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
[wsl2]
nestedVirtualization=true
Remember to restart WSL2 wsl --shutdown
after editing wsl.conf
sudo usermod -a -G kvm ${USER}
Run kvm-ok
on guest. For this to work, you need to have installed the cpu-checker
package, otherwise, you will bump into the error Command 'kvm-ok' not found
.
Then you could follow the instructions on MP0