-
Notifications
You must be signed in to change notification settings - Fork 4
Virtual Device configuration Linux
LeopoldoIII edited this page Apr 16, 2019
·
4 revisions
Some times you have to perform a couple of adjustments to get a virtual device working properly
Run the following command
sudo apt-get install qemu-kvm libvirt-bin virtinst bridge-utils cpu-checker
Verify that your machine supports hardware acceleration
kvm-ok
If you receive the following output you are OK if not sorry you are not able
INFO: /dev/kvm exists
KVM acceleration can be used
Next add your user to use libvirtd and kvm
sudo adduser $USER libvirtd
sudo adduser $USER kvm
To check the ownership of /dev/kvm use
ls -al /dev/kvm
To check which users are in the kvm group, use
grep kvm /etc/group
This returned
kvm:x:some_number: