I was having some trouble with libvirt on a Chromebook that supports /dev/kvm passthrough after installing virt-manager
and the other packages and what finally fixed it was using sudo apt update && sudo apt upgrade -y
and upgrading to Debian Buster 10.3 (I was on 10.2) and then sudo gpasswd -a $USER libvirt
and sudo gpasswd -a $USER kvm
and then quitting my shell and logging out and then when I logged back in I ensured that I was in the right groups by running id
. It turns out that for some reason the kvm
group doesn't stick, but running sudo gpasswd -a $USER kvm; newgrp kvm
gives you a shell where you can run qemu-system-x86_64 and then I didn't have any further warnings or permissions issues from virt-host-validate
. sudo apt install cpu-checker
also let me run sudo kvm-ok
to validate that the system was KVM ready.
Created
March 27, 2020 00:43
-
-
Save spoelstraethan/6d4fe3f182c75186def5215b698a8f9d to your computer and use it in GitHub Desktop.
Serverfault libvirt kvm https://serverfault.com/q/1002043
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment