trisquel 9 and kvm

1 reply [Última entrada]
eric23
Desconectado
Joined: 06/30/2017

I installed trisquel 9 and tried to get one of my qemu images working, but couldn't get kvm to start. I added my user to the libvirt group not understanding why else my user would not be able to start it. Two kvm modules are loaded (kvm and kvm_intel) and kvm is attached to the irqbypass module.

I believe the installation of these programs caused libvirt users to be created. In the login box one of those users was available, but I deleted them fearing they were a security issue.

Trying to install qemu-kvm again does not bring them back.

lan
lan
Desconectado
Joined: 02/02/2020

I will share just how I myself did from the new installed pure Etiona 9 64bit.

sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients gir1.2-spiceclientgtk-3.0

and then, since I prefer newest version of virt-manager, and since it is very easy to build it from source, I just follow instructions in their github:

https://github.com/virt-manager/virt-manager/blob/master/INSTALL.md

git clone https://github.com/virt-manager/virt-manager.git
cd virt-manager
./virt-manager
or
./setup.py install

Then you will have to reboot to make it work without "permission denied" problems.