Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: snokexz on 27 July 2020, 15:17:51

Title: KVM install
Post by: snokexz on 27 July 2020, 15:17:51
Hello, can someone help me installing KVM and virt-manager on Artix? I'm new to this distro and couldn't install it by myself. Thanks!
Title: Re: KVM install
Post by: guzzisti on 27 July 2020, 15:50:16
At which point are you stuck?

The guide in the arch wiki should be applicable: https://wiki.archlinux.org/index.php/QEMU#Installation
Title: Re: KVM install
Post by: snokexz on 27 July 2020, 15:53:29
I don't know how to enable/start/restart services with runit. I'm familiar with systemd's systemctl and yet don't know the alternative to this
Title: Re: KVM install
Post by: guzzisti on 27 July 2020, 15:56:35
The packages are already installed?


For runit usage, you may have a look at the Artix Wiki (https://wiki.artixlinux.org/Main/Runit) or this comprehensive faq (http://smarden.org/runit/faq.html).
Title: Re: KVM install
Post by: snokexz on 27 July 2020, 16:01:41
I was following this tutorial https://computingforgeeks.com/complete-installation-of-kvmqemu-and-virt-manager-on-arch-linux-and-manjaro/ (https://computingforgeeks.com/complete-installation-of-kvmqemu-and-virt-manager-on-arch-linux-and-manjaro/) . Following the steps, and using the commands for runit instead of systemctl should work, right?
Title: Re: KVM install
Post by: guzzisti on 27 July 2020, 16:14:12
I think so, but I don't use kvm / virt-manager or runit.

In any case, it will not work if the services are not activated and running.  ;)
Title: Re: KVM install
Post by: snokexz on 27 July 2020, 16:47:03
I couldn't get it working. Do you have any alternatives for virtualization on Artix?
Title: Re: KVM install
Post by: Artist on 27 July 2020, 19:56:39
I've got KVM running on Artix with runit, and can confirm it works flawlessly.

For KVM on runit install package libvirt-runit

To start the services run:

ln -s /etc/runit/sv/libvirtd /run/runit/service
sv up libvirtd

ln -s /etc/runit/sv/virtlogd /run/runit/service
sv up virtlogd

In case you have issues/questions just update this thread.
Title: Re: KVM install
Post by: Alionicle on 14 March 2021, 22:31:00
I've got KVM running on Artix with runit, and can confirm it works flawlessly.

For KVM on runit install package libvirt-runit

To start the services run:

ln -s /etc/runit/sv/libvirtd /run/runit/service
sv up libvirtd

ln -s /etc/runit/sv/virtlogd /run/runit/service
sv up virtlogd

In case you have issues/questions just update this thread.

Hello, i have tried "sv up virtlogd"  but i get the following:
"warning: libvirtd: unable to open supervise/ok: file does not exist"

Is there any complete tutorial for Artix i can search to instal KVM? or how do i solve that?