chinrw / wsl-qemu-kvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional Instructions

reteps opened this issue · comments

I had to perform additional steps to get this working in WSL2:

sudo usermod -a -G kvm ${USER}

and then either run

/bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'

or add to your wsl.conf:

command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'

I had to install attr package too.

source

commented

Thanks, will update this.