Getting Started
-
4. Adding User to Group
Next Add User to libvirt Group
First, you need to Make the Group:sudo addgroup libvirtd
And then Add User with:
sudo adduser `id -un` libvirtd
This because only the Users of this Group can Run Virtual Machines.
Then Relogin to Enable this Setup! -
5. Verifing KVM Installation
Finally, Test Installation.
Simply performing:
virsh list --all
And in the Output you should find:
Id Name State ----------------------------------------------------
This because still no VMs has been made.
-
6. Starting Libvirt Daemon
Again to Start Libvirtd Daemon.
sudo systemctl start libvirtd
And to Enable it on Boot:
sudo update-rc.d libvirtd enable
-
7. Creating and Running KVM VMs
KVM Virtualization Getting-Started Guide
Contents