Hello to everyone.
I'm trying to use qemu 5.1 with virt-manager and libvirt on my ARM
chromebook (armhf 32 bit cpu) running with Devuan 4 as host o.s.
By default it uses qemu and its dependencies,version 5.2. I remember that I
can't use qemu 5.2,because it doesn't have any support for KVM as you can
read here :
https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg02074.html
For this reason,I've recompiled libvirt from source like so :
git clone
https://github.com/libvirt/libvirt.git
mkdir -p libvirt_build
cd libvirt
apt install meson xsltproc libgnutls28-dev libxml2-dev rst2pdf
meson build --prefix=$HOME/libvirt_build
ninja -C build
sudo ninja -C build install
cd build
nano vai.sh :
sudo ./run src/virtlockd & sudo ./run src/virtlogd & sudo ./run src/libvirtd
chmod +x vai.sh
this is the error I get,unfortunately :
root@devuan:~/Desktop/libvirt/build# ./vai.sh
2023-08-22 16:52:34.416+0000: 14725: info : libvirt version: 9.7.0
2023-08-22 16:52:34.416+0000: 14725: info : hostname: devuan
2023-08-22 16:52:34.416+0000: 14725: error : virFirewallApplyRuleDirect:518
: internal error: Failed to apply firewall rules /usr/sbin/iptables -w
--table filter --list-rules: iptables: Failed to initialize nft: Protocol
not supported
2023-08-22 16:52:34.428+0000: 14725: error : virFirewallApplyRuleDirect:518
: internal error: Failed to apply firewall rules /usr/sbin/ip6tables -w
--table filter --list-rules: ip6tables: Failed to initialize nft: Protocol
not supported
I've fixed the last error like so :
root@devuan:~/Desktop/libvirt/build# update-alternatives --set iptables
/usr/sbin/iptables-legacy
update-alternatives: using /usr/sbin/iptables-legacy to provide
/usr/sbin/iptables (iptables) in manual mode
but now I have got another error :
root@devuan:~/Desktop/libvirt/build# sudo ./run src/virtlockd & sudo ./run
src/virtlogd & sudo ./run src/libvirtd
info : libvirt version: 9.7.0
hostname: devuan 5
error : virPidFileAcquirePathFull:409 : Failed to acquire pid file
'/root/libvirt_build/var/run/virtlockd.pid': Resource temporarily
unavailable
After having compiled libvirt from src and having run virt-manager,I get
the error "Libvirtd daemon is not running".
Can you give a look at this picture ?
https://ibb.co/n6MvDbL
How can I start the libvirtd daemon as requested ? thanks.
--
Mario.