Skip to content

Libvirt KVM

Install:

Bash
sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon
Bash
# gui
sudo apt install virt-manager -y

Enable daemon

Bash
sudo systemctl enable --now libvirtd && sudo systemctl start libvirtd

Add User to Groups:

Bash
sudo usermod -aG kvm $USER && sudo usermod -aG libvirt $USER

To work on Debian systems make sure to edit and add:

Bash
nano /etc/libvirt/qemu.conf
  • Add ecurity_driver = "none"
Text Only
#       security_driver = [ "selinux", "apparmor" ]
#
security_driver = "none"
Back to top