<div dir="ltr"><div>---> If you do only build-dep for libvirt you will have no virt-manager
and you would not be able to use it. You would have only libvirt.</div><div><br></div><div>I don't want to use libvirt without the graphic frontend. It makes no sense. At this point,if I can't use virt-manager,I would have used the qemu parameters directly. <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 3:50 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><font size="4"><span style="font-family:monospace"><span style="font-weight:bold;background-color:rgb(255,255,255);color:rgb(0,0,0)">As normal user,instead,I don't see the previous errors,but virt-manager is missing : </span><span style="font-weight:bold;background-color:rgb(255,255,255);color:rgb(0,0,0)"><br></span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"><br></span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="font-weight:bold;background-color:rgb(255,255,255);color:rgb(0,0,0)">marietto@chromarietto</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">:</span><span style="font-weight:bold;color:rgb(84,84,255);background-color:rgb(255,255,255)">~</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ libvirtd &
</span></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><div><font size="4"><span style="font-family:monospace">[1] 1947</span></font></div><div><font size="4"><span style="font-family:monospace"><br></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="font-weight:bold;background-color:rgb(255,255,255);color:rgb(0,0,0)">marietto@chromarietto</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">:</span><span style="font-weight:bold;color:rgb(84,84,255);background-color:rgb(255,255,255)">~</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ ps ax | grep libvirt</span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><font size="4"><span style="font-family:monospace"> 1947 pts/0    Sl     0:00 libvirtd
<br></span></font><div><font size="4"><span style="font-family:monospace"> 1974 pts/0    S+     0:00 grep libvirt</span></font></div><div><font size="4"><span style="font-family:monospace"><br></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><font size="4"><span style="font-family:monospace"><span style="font-weight:bold;background-color:rgb(255,255,255);color:rgb(0,0,0)">marietto@chromarietto</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">:</span><span style="font-weight:bold;color:rgb(84,84,255);background-color:rgb(255,255,255)">~</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ virt-manager
</span><br>-bash: virt-manager: command not found<br></span></font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 3:35 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Finally we can understand well what's wrong :</span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# libvirtd &</span></span></font></div><div><font size="4"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br>
</span></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><div><font size="4"><span style="font-family:monospace">[1] 1784</span></font></div><div><font size="4"><span style="font-family:monospace"><br></span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><font size="4"><span style="font-family:monospace">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# 2023-08-25 13:32:41.245+0000: 1801: info : libvirt version: 9.7.0
<br></span></font><div><font size="4"><span style="font-family:monospace"><br></span></font></div><div><font size="4"><span style="font-family:monospace">2023-08-25 13:32:41.245+0000: 1801: info : hostname: chromarietto
</span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><div><font size="4"><span style="font-family:monospace"><br></span></font></div><div><font size="4"><span style="font-family:monospace">2023-08-25 13:32:41.245+0000: 1801: error : virFirewallApplyRuleDirect:518 : internal error: Failed to apply firewall rules /usr/sbin/iptables -w --table mangle --list-rules: iptables v1.8.9 (legacy): can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)
</span></font></div><div><font size="4"><span style="font-family:monospace"></span></font></div><font size="4"><span style="font-family:monospace">Perhaps iptables or your kernel needs to be upgraded.
<br>
<br>2023-08-25 13:32:41.263+0000: 1801: error : virFirewallApplyRuleDirect:518 : internal error: Failed to apply firewall rules /usr/sbin/ip6tables -w --table filter --list-rules: modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.4.244-stb-cbe
<br>ip6tables v1.8.9 (legacy): can't initialize ip6tables table `filter': Table does not exist (do you need to insmod?). Perhaps ip6tables or your kernel needs to be upgraded.
<br>
<br>2023-08-25 13:32:41.693+0000: 1801: error : virGetUserID:760 : invalid argument: Failed to parse user 'libvirt-qemu'
<br>2023-08-25 13:32:41.699+0000: 1801: error : virStateInitialize:672 : Initialization of QEMU state driver failed: invalid argument: Failed to parse user 'libvirt-qemu'
<br>2023-08-25 13:32:41.699+0000: 1801: error : daemonRunStateInit:617 : Driver state initialization failed<br></span></font></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 2:51 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>it does not care,I solve it following this small tutorial :</div><div><br></div><div><a href="https://www.cnblogs.com/dream397/p/13850629.html" target="_blank">https://www.cnblogs.com/dream397/p/13850629.html</a></div><div><br></div><div>thanks anyway. You are very gentle with me. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 2:39 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:monospace"><font size="4"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">On Debian bookworm I get a compilation error,but not on Devuan :</span></font></span></div><div><span style="font-family:monospace"><font size="4"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></font></span></div><div><span style="font-family:monospace"><font size="4"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# ./configure --disable-werror --target-list=arm-softmmu --enable-opengl --ena</span>ble-gtk --enable-kvm --enable-guest-agent --enable-spice --audio-drv-list="oss pa" --enable-libusb --enable-trace-backend=simple --enable-debug --prefix=/usr/local</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace"><font size="4">Install prefix    /usr/local
<br>BIOS directory    /usr/local/share/qemu
<br>firmware path     /usr/local/share/qemu-firmware
<br>binary directory  /usr/local/bin
<br>library directory /usr/local/lib
<br>module directory  /usr/local/lib/qemu
<br>libexec directory /usr/local/libexec
<br>include directory /usr/local/include
<br>config directory  /usr/local/etc
<br>local state directory   /usr/local/var
<br>Manual directory  /usr/local/share/man
<br>ELF interp prefix /usr/gnemul/qemu-%M
<br>Build directory   /home/marietto/Desktop/Dati/qemu-v5.1.0
<br>Source path       /home/marietto/Desktop/Dati/qemu-v5.1.0
<br>GIT binary        git
<br>GIT submodules    ui/keycodemapdb tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc capstone slirp
<br>C compiler        cc
<br>Host C compiler   cc
<br>C++ compiler      c++
<br>Objective-C compiler cc
<br>ARFLAGS           rv
<br>CFLAGS            -g  <br>QEMU_CFLAGS       -I/usr/include/pixman-1  -I$(SRC_PATH)/dtc/libfdt  -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/gl<br>ib-2.0/include  -fPIE -DPIE  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wund<br>ef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99  -Wold-style-declaration -Wold-style-defini<br>tion -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpan<br>sion-to-defined -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong   -I/usr/include/p11-kit-1   -D<br>STRUCT_IOVEC_DEFINED  -I/usr/include/libpng16   -I/usr/include/spice-1 -I/usr/include/spice-server  -I$(SRC_PATH)/capstone/include
<br>QEMU_LDFLAGS      -L$(BUILD_DIR)/dtc/libfdt -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie  -fstack-protector-strong
<br>make              make
<br>install           install
<br>python            /usr/bin/python3 -B (3.11.2)
<br>genisoimage        <br>efi_aarch64       /home/marietto/Desktop/Dati/qemu-v5.1.0/pc-bios/edk2-aarch64-code.fd
<br>python_yaml       no
<br>slirp support     git  <br>smbd              /usr/sbin/smbd
<br>module support    no
<br>alt path mod load no
<br>host CPU          arm
<br>host big endian   no
<br>target list       arm-softmmu
<br>gprof enabled     no
<br>sparse enabled    no
<br>strip binaries    no
<br>profiler          no
<br>static build      no
<br>safe stack        no
<br>SDL support       no  <br>SDL image support no
<br>GTK support       yes (3.24.37)
<br>GTK GL support    yes
<br>VTE support       no  <br>TLS priority      NORMAL
<br>GNUTLS support    yes
<br>libgcrypt         no
<br>nettle            yes (3.8.1)
<br>  XTS             yes
<br>libtasn1          yes
<br>PAM               no
<br>iconv support     yes
<br>curses support    yes
<br>virgl support     no  <br>curl support      yes
<br>mingw32 support   no
<br>Audio drivers     oss pa
<br>Block whitelist (rw)  <br>Block whitelist (ro)  <br>VirtFS support    yes
<br>Multipath support no
<br>VNC support       yes
<br>VNC SASL support  yes
<br>VNC JPEG support  yes
<br>VNC PNG support   yes
<br>xen support       yes
<br>xen ctrl version  41700
<br>brlapi support    no
<br>Documentation     no
<br>PIE               yes
<br>vde support       no
<br>netmap support    no
<br>Linux AIO support no
<br>Linux io_uring support no
<br>ATTR/XATTR support yes
<br>Install blobs     yes
<br>KVM support       yes
<br>HAX support       no
<br>HVF support       no
<br>WHPX support      no
<br>TCG support       yes
<br>TCG debug enabled yes
<br>TCG interpreter   no
<br>malloc trim support yes
<br>RDMA support      no
<br>PVRDMA support    no
<br>fdt support       git
<br>membarrier        no
<br>preadv support    yes
<br>fdatasync         yes
<br>madvise           yes
<br>posix_madvise     yes
<br>posix_memalign    yes
<br>libcap-ng support yes
<br>vhost-net support yes
<br>vhost-crypto support yes
<br>vhost-scsi support yes
<br>vhost-vsock support yes
<br>vhost-user support yes
<br>vhost-user-fs support yes
<br>vhost-vdpa support yes
<br>Trace backends    simple
<br>Trace output file trace-<pid>
<br>spice support     yes (0.14.3/0.15.1)
<br>rbd support       yes
<br>xfsctl support    no
<br>smartcard support no
<br>libusb            yes
<br>usb net redir     no
<br>OpenGL support    yes
<br>OpenGL dmabufs    yes
<br>libiscsi support  yes
<br>libnfs support    no
<br>build guest agent yes
<br>QGA VSS support   no
<br>QGA w32 disk info no
<br>QGA MSI support   no
<br>seccomp support   no
<br>coroutine backend ucontext
<br>coroutine pool    yes
<br>debug stack usage no
<br>mutex debugging   yes
<br>crypto afalg      no
<br>GlusterFS support yes
<br>gcov              gcov
<br>gcov enabled      no
<br>TPM support       yes
<br>libssh support    yes
<br>QOM debugging     yes
<br>Live block migration yes
<br>lzo support       no
<br>snappy support    no
<br>bzip2 support     no
<br>lzfse support     no
<br>zstd support      yes
<br>NUMA host support yes
<br>libxml2           yes
<br>tcmalloc support  no
<br>jemalloc support  no
<br>avx2 optimization  <br>avx512f optimization no
<br>replication support yes
<br>bochs support     yes
<br>cloop support     yes
<br>dmg support       yes
<br>qcow v1 support   yes
<br>vdi support       yes
<br>vvfat support     yes
<br>qed support       yes
<br>parallels support yes
<br>sheepdog support  yes
<br>capstone          git
<br>libpmem support   no
<br>libdaxctl support no
<br>libudev           yes
<br>default devices   yes
<br>plugin support    no
<br>fuzzing support   no
<br>gdb                <br>rng-none          no
<br>Linux keyring     yes
<br>cross containers  no
<br></font>
<font size="4"><br></font></span><div><span style="font-family:monospace"><font size="4">NOTE: guest cross-compilers enabled: cc</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><div><span style="font-family:monospace"><font size="4">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# apt install libfdt-dev libdt-utils-dev python3-libfdt</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# make</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace"><font size="4">  GEN     arm-softmmu/config-devices.mak.tmp
<br>  GEN     arm-softmmu/config-devices.mak
<br>  GEN     config-all-devices.mak
<br>  GEN     config-host.h
<br>make[1]: Entering directory '/home/marietto/Desktop/Dati/qemu-v5.1.0/slirp'
<br>make[1]: Nothing to be done for 'all'.
<br>make[1]: Leaving directory '/home/marietto/Desktop/Dati/qemu-v5.1.0/slirp'
<br>make[1]: *** No rule to make target '/root/Desktop/qemu-v5.1.0/dtc/libfdt/fdt.h', needed by 'libfdt/fdt.o'.  Stop.
<br></font></span><div><span style="font-family:monospace"><font size="4">make: *** [Makefile:536: dtc/all] Error 2</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4"></font></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4"></font></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0# cd dtc</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0/dtc# cd libfdt</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><font size="4">root@chromarietto:/home/marietto/Desktop/Dati/qemu-v5.1.0/dtc/libfdt# ls</font></span></div><div><span style="font-family:monospace"><font size="4"><br></font></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace"><font size="4">fdt_addresses.c  fdt_check.d       fdt_empty_tree.o  fdt_overlay.o  fdt_rw.d        fdt_sw.c   fdt_wip.o          Makefile.libfdt
<br>fdt_addresses.d  fdt_check.o       fdt.h             fdt_ro.c       fdt_rw.o        fdt_sw.d   libfdt.a           TODO
<br>fdt_addresses.o  fdt.d             fdt.o             fdt_ro.d       fdt_strerror.c  fdt_sw.o   libfdt_env.h       version.lds
<br>fdt.c            fdt_empty_tree.c  fdt_overlay.c     fdt_ro.o       fdt_strerror.d  fdt_wip.c  libfdt.h
<br>fdt_check.c      fdt_empty_tree.d  fdt_overlay.d     fdt_rw.c       fdt_strerror.o  fdt_wip.d  libfdt_internal.h</font><br>
<br><br></span><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 10:51 AM Pavel Hrdina <<a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Aug 24, 2023 at 10:40:40PM +0200, Mario Marietto wrote:<br>
> I've installed Debian bookworm instead of devuan. Maybe it's easier,since I<br>
> know debian better than devuan. Let me understand a point : should I issue<br>
> "apt build-dep libvirt" instead of "apt install virt-manager" ? aren't they<br>
> equivalent commands ? Usually,as soon as I reinstall Debian,I do the<br>
> installation of virt-manager and it grabs all its dependencies. If I<br>
> understand correctly,I should not install virt-manager and its<br>
> dependencies,right ? thanks.<br>
<br>
If you run `apt install virt-manager` it will install virt-manager,<br>
libvirt, qemu and everything needed to run and use the software.<br>
If you run `apt build-dep libvirt` it will install everything needed to<br>
compile libvirt but not necessarily everything you need to actually run<br>
it. If you do only build-dep for libvirt you will have no virt-manager<br>
and you would not be able to use it. You would have only libvirt.<br>
<br>
> On Thu, Aug 24, 2023 at 3:16 PM Pavel Hrdina <<a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>> wrote:<br>
> <br>
> > On Wed, Aug 23, 2023 at 08:47:55PM +0200, Mario Marietto wrote:<br>
> > > I've fixed this problem :<br>
> > ><br>
> > > virsh: /lib/arm-linux-gnueabihf/libvirt.so.0: version<br>
> > > `LIBVIRT_PRIVATE_9.0.0' not found (required by virsh)<br>
> > ><br>
> > > now,virsh works if I launch it within the build directory of libvirt :<br>
> > ><br>
> > > root@devuan:~/libvirt_build/bin# ./virsh<br>
> > > Welcome to virsh, the virtualization interactive terminal.<br>
> > ><br>
> > > Type:  'help' for help with commands<br>
> > >       'quit' to quit<br>
> > ><br>
> > > but inside the build directory of libvirt I don't see any virt-manager<br>
> > > executable,so I'm forced to run it like this :<br>
> > ><br>
> > > root@devuan:~/Desktop/libvirt/build# ./run /usr/bin/virt-manager<br>
> > ><br>
> > > and it gives the previous error : no connection driver available for<br>
> > > qemu:///system<br>
> > ><br>
> > > but the fact that virsh works is a progress ? should I compile<br>
> > virt-manager<br>
> > > also from source code ?<br>
> ><br>
> > No, there is no need to compile virt-manager, it is written in python<br>
> > and so there is no compilation involved at all.<br>
> ><br>
> ><br>
> > I would probably recommend you to remove `~/libvirt_build/` and<br>
> > `~/Desktop/libvirt/build/` directories and start again.<br>
> ><br>
> > If you've successfully installed all libvirt build dependencies using<br>
> > `apt build-dep libvirt` you should have everything to build your own<br>
> > libvirt if you are on Devuan 5.<br>
> ><br>
> > The next step would be configuring libvirt so you can compile it using<br>
> > the following command executed in the libvirt source directory:<br>
> ><br>
> >     meson setup build<br>
> ><br>
> > Once that is completed you can build and install your libvirt using<br>
> > the following command directly from the source directory as well:<br>
> ><br>
> >     ninja -C build<br>
> >     sudo ninja -C build install<br>
> ><br>
> > The first one will build libvirt (I would not run it as root) and the<br>
> > second one will install it into /usr/local/.<br>
> ><br>
> > After that is done you should be able to run virsh and libvirtd directly<br>
> > without any run script. You can verify which binary is actually used if<br>
> > you run the following:<br>
> ><br>
> >     which virsh<br>
> >     which libvirtd<br>
> ><br>
> > If everything is correct you should get these paths:<br>
> ><br>
> >     /usr/local/bin/virsh<br>
> >     /usr/local/sbin/libvirtd<br>
> ><br>
> > Now you should be able to simply run `libvirtd &` to start the daemon.<br>
> ><br>
> > After that running `virsh version` or any virsh command should just<br>
> > work. Running `virt-manager` should also work and connect to the correct<br>
> > libvirt.<br>
> ><br>
> ><br>
> > I also tried installing QEMU build dependencies using `apt build-dep qemu`<br>
> > and used the following steps to build QEMU 5.1.0 from source directory:<br>
> ><br>
> >     mkdir build<br>
> >     cd build<br>
> >     ../configure (with options, I'm doing it on x86_64 so they are bit<br>
> > different)<br>
> >     make<br>
> >     sudo make install<br>
> ><br>
> > But you should have theses steps completed already. Again you can verify<br>
> > that you are using correct qemu-system-arm running:<br>
> ><br>
> >     which qemu-system-arm<br>
> ><br>
> > where you should get<br>
> ><br>
> >     /usr/local/bin/qemu-system-arm<br>
> ><br>
> > If you complete all of the build and install steps like here and start<br>
> > libvirtd after that you should have everything set to work properly<br>
> > and starting `virt-manager` without any special path should just work.<br>
> ><br>
> > I verified all of this on Devuan 5 but on x86_64 architecture, don't<br>
> > have any 32bit arm to try it on.<br>
> ><br>
> > Pavel<br>
> ><br>
> ><br>
> > > On Wed, Aug 23, 2023 at 7:39 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>><br>
> > > wrote:<br>
> > ><br>
> > > > Despite that error,the previous error is still there :<br>
> > > ><br>
> > > > Unable to connect to libvirt qemu:///system.<br>
> > > ><br>
> > > > no connection driver available for qemu:///system<br>
> > > ><br>
> > > > Libvirt URI is: qemu:///system<br>
> > > ><br>
> > > > Traceback (most recent call last):<br>
> > > >   File "/usr/share/virt-manager/virtManager/connection.py", line 923,<br>
> > in<br>
> > > > _do_open<br>
> > > >     self._backend.open(cb, data)<br>
> > > >   File "/usr/share/virt-manager/virtinst/connection.py", line 171, in<br>
> > open<br>
> > > >     conn = libvirt.openAuth(self._open_uri,<br>
> > > >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
> > > >   File "/usr/lib/python3/dist-packages/libvirt.py", line 147, in<br>
> > openAuth<br>
> > > >     raise libvirtError('virConnectOpenAuth() failed')<br>
> > > > libvirt.libvirtError: no connection driver available for qemu:///system<br>
> > > ><br>
> > > > I'm using qemu 5.1 :<br>
> > > ><br>
> > > > root@devuan:~# qemu-system-arm --version<br>
> > > ><br>
> > > > QEMU emulator version 5.1.0 (v5.1.0-dirty)<br>
> > > ><br>
> > > ><br>
> > > > On Wed, Aug 23, 2023 at 7:30 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a><br>
> > ><br>
> > > > wrote:<br>
> > > ><br>
> > > >> root@devuan:~/Desktop/libvirt/build# sudo virsh list --all<br>
> > > >><br>
> > > >> virsh: /lib/arm-linux-gnueabihf/libvirt.so.0: version<br>
> > > >> `LIBVIRT_PRIVATE_9.0.0' not found (required by virsh)<br>
> > > >><br>
> > > >><br>
> > > >><br>
> > > >> On Wed, Aug 23, 2023 at 5:43 PM Pavel Hrdina <<a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > wrote:<br>
> > > >><br>
> > > >>> On Wed, Aug 23, 2023 at 03:41:42PM +0200, Mario Marietto wrote:<br>
> > > >>> > Hello Pavel,<br>
> > > >>> ><br>
> > > >>> > It didn't work,but the error was changed. Isn't a bad news :<br>
> > > >>> ><br>
> > > >>> > root@devuan:~/Desktop/libvirt/build# ./run /usr/bin/virt-manager<br>
> > > >>> ><br>
> > > >>> > Unable to connect to libvirt qemu:///system.<br>
> > > >>> ><br>
> > > >>> > no connection driver available for qemu:///system<br>
> > > >>> ><br>
> > > >>> > Libvirt URI is: qemu:///system<br>
> > > >>> ><br>
> > > >>> > Traceback (most recent call last):<br>
> > > >>> >   File "/usr/share/virt-manager/virtManager/connection.py", line<br>
> > 923,<br>
> > > >>> in<br>
> > > >>> > _do_open<br>
> > > >>> >     self._backend.open(cb, data)<br>
> > > >>> >   File "/usr/share/virt-manager/virtinst/connection.py", line 171,<br>
> > in<br>
> > > >>> open<br>
> > > >>> >     conn = libvirt.openAuth(self._open_uri,<br>
> > > >>> >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
> > > >>> >   File "/usr/lib/python3/dist-packages/libvirt.py", line 147, in<br>
> > > >>> openAuth<br>
> > > >>> >     raise libvirtError('virConnectOpenAuth() failed')<br>
> > > >>> > libvirt.libvirtError: no connection driver available for<br>
> > qemu:///system<br>
> > > >>><br>
> > > >>> Seems like you've compiled libvirt without qemu support. My guess is<br>
> > > >>> that you are missing dependencies to compile libvirt with QEMU<br>
> > driver.<br>
> > > >>> If you run<br>
> > > >>><br>
> > > >>>     apt build-dep libvirt<br>
> > > >>><br>
> > > >>> it should install you dependencies that libvirt from package manager<br>
> > > >>> would need and that is a good starting point to compile your own<br>
> > > >>> libvirt.<br>
> > > >>><br>
> > > >>><br>
> > > >>> > On Wed, Aug 23, 2023 at 2:27 PM Pavel Hrdina <<a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > > >>> wrote:<br>
> > > >>> ><br>
> > > >>> > > On Tue, Aug 22, 2023 at 10:23:32PM +0200, Mario Marietto wrote:<br>
> > > >>> > > > After having compiled libvirt from src and having run<br>
> > > >>> virt-manager,I get<br>
> > > >>> > > > the error "Libvirtd daemon is not running". Can you give a<br>
> > look at<br>
> > > >>> this<br>
> > > >>> > > > picture ?<br>
> > > >>> > > ><br>
> > > >>> > > > <a href="https://ibb.co/n6MvDbL" rel="noreferrer" target="_blank">https://ibb.co/n6MvDbL</a><br>
> > > >>> > > ><br>
> > > >>> > > > how to fix it ? thanks.<br>
> > > >>> > ><br>
> > > >>> > > If you managed to start libvirtd using the run script from<br>
> > libvirt<br>
> > > >>> build<br>
> > > >>> > > directory you should use the run script to start virt-manager as<br>
> > > >>> well.<br>
> > > >>> > ><br>
> > > >>> > > > On Tue, Aug 22, 2023 at 10:17 PM Mario Marietto <<br>
> > > >>> <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>><br>
> > > >>> > > > wrote:<br>
> > > >>> > > ><br>
> > > >>> > > > > [image: Screenshot from 2023-08-22 22-06-30.png]<br>
> > > >>> > > > ><br>
> > > >>> > > > > On Tue, Aug 22, 2023 at 9:44 PM Mario Marietto <<br>
> > > >>> <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a><br>
> > > >>> > > ><br>
> > > >>> > > > > wrote:<br>
> > > >>> > > > ><br>
> > > >>> > > > >><br>
> > > >>> > > > >> Hello,<br>
> > > >>> > > > >><br>
> > > >>> > > > >> Pavel,are you there ? Please help me to give it the last<br>
> > push.<br>
> > > >>> I've<br>
> > > >>> > > fixed<br>
> > > >>> > > > >> the last error like so :<br>
> > > >>> > > > >><br>
> > > >>> > > > >> root@devuan:~/Desktop/libvirt/build# update-alternatives<br>
> > --set<br>
> > > >>> > > iptables<br>
> > > >>> > > > >> /usr/sbin/iptables-legacy<br>
> > > >>> > > > >> update-alternatives: using /usr/sbin/iptables-legacy to<br>
> > provide<br>
> > > >>> > > > >> /usr/sbin/iptables (iptables) in manual mode<br>
> > > >>> > > > >><br>
> > > >>> > > > >> but now I have got another error. Anyway,I feel to be close<br>
> > :<br>
> > > >>> > > > >><br>
> > > >>> > > > >> root@devuan:~/Desktop/libvirt/build# sudo ./run<br>
> > src/virtlockd<br>
> > > >>> & sudo<br>
> > > >>> > > > >> ./run src/virtlogd & sudo ./run src/libvirtd<br>
> > > >>> > > > >><br>
> > > >>> > > > >> 2023-08-22 19:38:49.036+0000: 15002: info : libvirt version:<br>
> > > >>> 9.7.0<br>
> > > >>> > > > >><br>
> > > >>> > > > >> hostname: devuan<br>
> > > >>> > > > >> error : virPidFileAcquirePathFull:409 : Failed to acquire<br>
> > pid<br>
> > > >>> file<br>
> > > >>> > > > >> '/root/libvirt_build/var/run/virtlockd.pid': Resource<br>
> > > >>> temporarily<br>
> > > >>> > > > >> unavailable<br>
> > > >>> > > > >><br>
> > > >>> > > > >> On Tue, Aug 22, 2023 at 7:01 PM Mario Marietto <<br>
> > > >>> > > <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>><br>
> > > >>> > > > >> wrote:<br>
> > > >>> > > > >><br>
> > > >>> > > > >>> Et voila'. I've recompiled libvirt in this way :<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> git clone <a href="https://github.com/libvirt/libvirt.git" rel="noreferrer" target="_blank">https://github.com/libvirt/libvirt.git</a><br>
> > > >>> > > > >>> mkdir -p libvirt_build<br>
> > > >>> > > > >>> cd libvirt<br>
> > > >>> > > > >>> apt install meson xsltproc libgnutls28-dev libxml2-dev<br>
> > rst2pdf<br>
> > > >>> > > > >>> meson build --prefix=$HOME/libvirt_build<br>
> > > >>> > > > >>> ninja -C build<br>
> > > >>> > > > >>> sudo ninja -C build install<br>
> > > >>> > > > >>> cd build<br>
> > > >>> > > > >>> nano vai.sh :<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> sudo ./run src/virtlockd & sudo ./run src/virtlogd & sudo<br>
> > ./run<br>
> > > >>> > > > >>> src/libvirtd<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> chmod +x vai.sh<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> this is the error I get :<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> root@devuan:~/Desktop/libvirt/build# ./vai.sh<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> 2023-08-22 16:52:34.416+0000: 14725: info : libvirt<br>
> > version:<br>
> > > >>> 9.7.0<br>
> > > >>> > > > >>> 2023-08-22 16:52:34.416+0000: 14725: info : hostname:<br>
> > devuan<br>
> > > >>> > > > >>> 2023-08-22 16:52:34.416+0000: 14725: error :<br>
> > > >>> > > > >>> virFirewallApplyRuleDirect:518 : internal error: Failed to<br>
> > > >>> apply<br>
> > > >>> > > > >>> firewall rules /usr/sbin/iptables -w --table filter<br>
> > > >>> --list-rules:<br>
> > > >>> > > > >>> iptables: Failed to initialize nft: Protocol not supported<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> 2023-08-22 16:52:34.428+0000: 14725: error :<br>
> > > >>> > > > >>> virFirewallApplyRuleDirect:518 : internal error: Failed to<br>
> > > >>> apply<br>
> > > >>> > > firewall<br>
> > > >>> > > > >>> rules /usr/sbin/ip6tables -w --table filter --list-rules:<br>
> > > >>> ip6tables:<br>
> > > >>> > > Failed<br>
> > > >>> > > > >>> to initialize nft: Protocol not supported<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> On Tue, Aug 22, 2023 at 6:49 PM Pavel Hrdina <<br>
> > > >>> <a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > > >>> > > wrote:<br>
> > > >>> > > > >>><br>
> > > >>> > > > >>>> On Tue, Aug 22, 2023 at 06:22:25PM +0200, Mario Marietto<br>
> > > >>> wrote:<br>
> > > >>> > > > >>>> > In your opinion should I remove virt-manager and all its<br>
> > > >>> > > dependencies<br>
> > > >>> > > > >>>> > before launching the recompilation ?<br>
> > > >>> > > > >>>><br>
> > > >>> > > > >>>> I would say there is no need to do that if you install<br>
> > > >>> libvirt to<br>
> > > >>> > > > >>>> /usr/local as it should be separated from the libvirt<br>
> > > >>> installed by<br>
> > > >>> > > > >>>> package manager.<br>
> > > >>> > > > >>>><br>
> > > >>> > > > >>>> Pavel<br>
> > > >>> > > > >>>><br>
> > > >>> > > > >>>> ><br>
> > > >>> > > > >>>> > On Tue, Aug 22, 2023 at 6:05 PM Pavel Hrdina <<br>
> > > >>> <a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > > >>> > > > >>>> wrote:<br>
> > > >>> > > > >>>> ><br>
> > > >>> > > > >>>> > > On Tue, Aug 22, 2023 at 05:55:30PM +0200, Mario<br>
> > Marietto<br>
> > > >>> wrote:<br>
> > > >>> > > > >>>> > > > I have installed virt-manager and all its<br>
> > dependencies<br>
> > > >>> > > grabbing<br>
> > > >>> > > > >>>> the files<br>
> > > >>> > > > >>>> > > > from the devuan 5 repository.<br>
> > > >>> > > > >>>> > > > To recompile libvirt I need to acquire some basic<br>
> > > >>> information.<br>
> > > >>> > > > >>>> Which<br>
> > > >>> > > > >>>> > > > version should I compile ? Where is the source code<br>
> > > >>> located ?<br>
> > > >>> > > Do<br>
> > > >>> > > > >>>> you have<br>
> > > >>> > > > >>>> > > > some tutorial that explains the necessary steps to<br>
> > do<br>
> > > >>> it ?<br>
> > > >>> > > thanks.<br>
> > > >>> > > > >>>> > ><br>
> > > >>> > > > >>>> > > Everything can be found at <a href="https://libvirt.org/" rel="noreferrer" target="_blank">https://libvirt.org/</a> not<br>
> > sure<br>
> > > >>> which<br>
> > > >>> > > > >>>> version<br>
> > > >>> > > > >>>> > > to pick, you can try latest upstream version but there<br>
> > > >>> might be<br>
> > > >>> > > some<br>
> > > >>> > > > >>>> > > dependencies missing in Devuan, if that happens you<br>
> > can<br>
> > > >>> > > fallback to<br>
> > > >>> > > > >>>> > > version that is provided by Devuan.<br>
> > > >>> > > > >>>> > ><br>
> > > >>> > > > >>>> > > For example this link has basic info on how to compile<br>
> > > >>> libvirt<br>
> > > >>> > > > >>>> > > <a href="https://libvirt.org/compiling.html" rel="noreferrer" target="_blank">https://libvirt.org/compiling.html</a> and here you can<br>
> > find<br>
> > > >>> > > sources<br>
> > > >>> > > > >>>> > > to libvirt <a href="https://libvirt.org/downloads.html" rel="noreferrer" target="_blank">https://libvirt.org/downloads.html</a> .<br>
> > > >>> > > > >>>> > ><br>
> > > >>> > > > >>>> > > Pavel<br>
> > > >>> > > > >>>> > ><br>
> > > >>> > > > >>>> > > > On Tue, Aug 22, 2023 at 5:50 PM Pavel Hrdina <<br>
> > > >>> > > <a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > > >>> > > > >>>> wrote:<br>
> > > >>> > > > >>>> > > ><br>
> > > >>> > > > >>>> > > > > On Tue, Aug 22, 2023 at 05:28:50PM +0200, Mario<br>
> > > >>> Marietto<br>
> > > >>> > > wrote:<br>
> > > >>> > > > >>>> > > > > > root@devuan:~# virsh domcapabilities --machine<br>
> > virt<br>
> > > >>> > > > >>>> --emulatorbin<br>
> > > >>> > > > >>>> > > > > > /usr/bin/qemu-system-arm<br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > error: failed to get emulator capabilities<br>
> > > >>> > > > >>>> > > > > > error: KVM is not supported on this platform:<br>
> > > >>> Function not<br>
> > > >>> > > > >>>> > > implemented<br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > BUT it's not true :<br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > root@devuan:~# kvm-ok<br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > INFO: /dev/kvm exists<br>
> > > >>> > > > >>>> > > > > > KVM acceleration can be used<br>
> > > >>> > > > >>>> > > > ><br>
> > > >>> > > > >>>> > > > > Are you using libvirt installed using package<br>
> > manager<br>
> > > >>> or<br>
> > > >>> > > some<br>
> > > >>> > > > >>>> libvirt<br>
> > > >>> > > > >>>> > > > > that you compiled yorself? Checking libvirt code<br>
> > this<br>
> > > >>> error<br>
> > > >>> > > only<br>
> > > >>> > > > >>>> > > happens<br>
> > > >>> > > > >>>> > > > > if libvirt was compiled without KVM, more<br>
> > > >>> specifically if<br>
> > > >>> > > header<br>
> > > >>> > > > >>>> > > > > `/usr/include/linux/kvm.h` doesn't exists.<br>
> > > >>> > > > >>>> > > > ><br>
> > > >>> > > > >>>> > > > > I was not able to find any details on Devuan<br>
> > distro<br>
> > > >>> so not<br>
> > > >>> > > sure<br>
> > > >>> > > > >>>> how<br>
> > > >>> > > > >>>> > > > > the libvirt package is compiled. You might need<br>
> > to try<br>
> > > >>> > > compiling<br>
> > > >>> > > > >>>> > > libvirt<br>
> > > >>> > > > >>>> > > > > yourself.<br>
> > > >>> > > > >>>> > > > ><br>
> > > >>> > > > >>>> > > > > Pavel<br>
> > > >>> > > > >>>> > > > ><br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > On Tue, Aug 22, 2023 at 5:27 PM Mario Marietto <<br>
> > > >>> > > > >>>> > > <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>><br>
> > > >>> > > > >>>> > > > > > wrote:<br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > > Oh sorry....<br>
> > > >>> > > > >>>> > > > > > ><br>
> > > >>> > > > >>>> > > > > > > On Tue, Aug 22, 2023 at 5:26 PM Mario<br>
> > Marietto <<br>
> > > >>> > > > >>>> > > <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a><br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > > wrote:<br>
> > > >>> > > > >>>> > > > > > ><br>
> > > >>> > > > >>>> > > > > > >> virsh domcapabilities --machine virt<br>
> > > >>> --emulatorbin<br>
> > > >>> > > > >>>> > > > > > >> /path/to/qemu-system-arm<br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > >> error: failed to get emulator capabilities<br>
> > > >>> > > > >>>> > > > > > >> error: Cannot check QEMU binary<br>
> > > >>> > > /path/to/qemu-system-arm:<br>
> > > >>> > > > >>>> No such<br>
> > > >>> > > > >>>> > > > > file or<br>
> > > >>> > > > >>>> > > > > > >> directory<br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > >> On Tue, Aug 22, 2023 at 4:49 PM Pavel Hrdina<br>
> > <<br>
> > > >>> > > > >>>> <a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a>><br>
> > > >>> > > > >>>> > > > > wrote:<br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > >>> On Tue, Aug 22, 2023 at 04:05:09PM +0200,<br>
> > Mario<br>
> > > >>> > > Marietto<br>
> > > >>> > > > >>>> wrote:<br>
> > > >>> > > > >>>> > > > > > >>> > Where does libvirt want to find those<br>
> > files ?<br>
> > > >>> since<br>
> > > >>> > > the<br>
> > > >>> > > > >>>> qemu<br>
> > > >>> > > > >>>> > > 5.1<br>
> > > >>> > > > >>>> > > > > > >>> > installation files have been placed under<br>
> > > >>> /usr/local<br>
> > > >>> > > > >>>> during the<br>
> > > >>> > > > >>>> > > > > command<br>
> > > >>> > > > >>>> > > > > > >>> > make install,I have also copied the<br>
> > firmware<br>
> > > >>> files<br>
> > > >>> > > in :<br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > ls /usr/local/share/AAVMF<br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > AAVMF32_CODE.fd  AAVMF_CODE.fd<br>
> > > >>> > > > >>>>  AAVMF_CODE.snakeoil.fd<br>
> > > >>> > > > >>>> > > > > > >>> AAVMF_VARS.ms.fd<br>
> > > >>> > > > >>>> > > > > > >>> > AAVMF32_VARS.fd  AAVMF_CODE.ms.fd<br>
> > > >>> AAVMF_VARS.fd<br>
> > > >>> > > > >>>> > > > > > >>> >           AAVMF_VARS.snakeoil.fd<br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > but they aren't still recognized.<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> Downgrading libvirt would not help in this<br>
> > > >>> specific<br>
> > > >>> > > case.<br>
> > > >>> > > > >>>> Since<br>
> > > >>> > > > >>>> > > > > version<br>
> > > >>> > > > >>>> > > > > > >>> 5.2.0 libvirt uses firmware auto-selection.<br>
> > > >>> Libvirt is<br>
> > > >>> > > > >>>> looking<br>
> > > >>> > > > >>>> > > for<br>
> > > >>> > > > >>>> > > > > json<br>
> > > >>> > > > >>>> > > > > > >>> files describing available firmwares. It is<br>
> > > >>> > > documented in<br>
> > > >>> > > > >>>> QEMU<br>
> > > >>> > > > >>>> > > > > project<br>
> > > >>> > > > >>>> > > > > > >>> git repository in<br>
> > `docs/interop/firmware.json`,<br>
> > > >>> this<br>
> > > >>> > > > >>>> specific<br>
> > > >>> > > > >>>> > > section<br>
> > > >>> > > > >>>> > > > > > >>> describes where the json files should be<br>
> > placed:<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> # It is recommended to create firmware JSON<br>
> > > >>> files<br>
> > > >>> > > (each<br>
> > > >>> > > > >>>> > > containing a<br>
> > > >>> > > > >>>> > > > > > >>> # single @Firmware root element) with a<br>
> > > >>> double-digit<br>
> > > >>> > > > >>>> prefix, for<br>
> > > >>> > > > >>>> > > > > example<br>
> > > >>> > > > >>>> > > > > > >>> # "50-ovmf.json", "50-seabios-256k.json",<br>
> > etc,<br>
> > > >>> so they<br>
> > > >>> > > > >>>> can be<br>
> > > >>> > > > >>>> > > sorted<br>
> > > >>> > > > >>>> > > > > in<br>
> > > >>> > > > >>>> > > > > > >>> # predictable order. The firmware JSON files<br>
> > > >>> should be<br>
> > > >>> > > > >>>> searched<br>
> > > >>> > > > >>>> > > for<br>
> > > >>> > > > >>>> > > > > in<br>
> > > >>> > > > >>>> > > > > > >>> # three directories:<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> > > >>> > > > >>>> > > > > > >>> #   - /usr/share/qemu/firmware -- populated<br>
> > by<br>
> > > >>> > > > >>>> distro-provided<br>
> > > >>> > > > >>>> > > > > firmware<br>
> > > >>> > > > >>>> > > > > > >>> #                                 packages<br>
> > > >>> > > (XDG_DATA_DIRS<br>
> > > >>> > > > >>>> covers<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> >  /usr/share by<br>
> > > >>> > > default),<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> > > >>> > > > >>>> > > > > > >>> #   - /etc/qemu/firmware -- exclusively for<br>
> > > >>> sysadmins'<br>
> > > >>> > > > >>>> local<br>
> > > >>> > > > >>>> > > > > additions,<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> > > >>> > > > >>>> > > > > > >>> #   - $XDG_CONFIG_HOME/qemu/firmware --<br>
> > > >>> exclusively<br>
> > > >>> > > for<br>
> > > >>> > > > >>>> per-user<br>
> > > >>> > > > >>>> > > > > local<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> > > >>>  additions<br>
> > > >>> > > > >>>> > > (XDG_CONFIG_HOME<br>
> > > >>> > > > >>>> > > > > > >>> #<br>
> > > >>>  defaults to<br>
> > > >>> > > > >>>> > > $HOME/.config).<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> It doesn't matter where the *CODE* and<br>
> > *VARS*<br>
> > > >>> firmware<br>
> > > >>> > > > >>>> files are<br>
> > > >>> > > > >>>> > > > > placed<br>
> > > >>> > > > >>>> > > > > > >>> if the path to these files is correct in the<br>
> > > >>> json<br>
> > > >>> > > files<br>
> > > >>> > > > >>>> in one<br>
> > > >>> > > > >>>> > > of the<br>
> > > >>> > > > >>>> > > > > > >>> three directories.<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> Looking at the qemu-efi-arm package it<br>
> > should<br>
> > > >>> install<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>>     /usr/share/AAVMF/AAVMF32_CODE.fd<br>
> > > >>> > > > >>>> > > > > > >>>     /usr/share/AAVMF/AAVMF32_VARS.fd<br>
> > > >>> > > > >>>> > > > > > >>><br>
> >  /usr/share/qemu/firmware/60-edk2-arm.json<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> and that should be picked up correctly by<br>
> > > >>> libvirt.<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> I don't know what machine types are<br>
> > available<br>
> > > >>> for<br>
> > > >>> > > 32bit<br>
> > > >>> > > > >>>> ARM, but<br>
> > > >>> > > > >>>> > > you<br>
> > > >>> > > > >>>> > > > > > >>> should be able to figure that out by<br>
> > running:<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>>     virsh capabilities | grep canonical<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> it will show only lines with machine types,<br>
> > but<br>
> > > >>> my<br>
> > > >>> > > guess<br>
> > > >>> > > > >>>> is on<br>
> > > >>> > > > >>>> > > arm<br>
> > > >>> > > > >>>> > > > > there<br>
> > > >>> > > > >>>> > > > > > >>> should be 'virt' machine type so running<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>>     virsh domcapabilities --machine virt<br>
> > > >>> --emulatorbin<br>
> > > >>> > > > >>>> > > > > > >>> /path/to/qemu-system-arm<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> where you should be able to see the firmware<br>
> > > >>> paths if<br>
> > > >>> > > > >>>> they are<br>
> > > >>> > > > >>>> > > > > correctly<br>
> > > >>> > > > >>>> > > > > > >>> detected by libvirt.<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> Pavel<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >>> > On Tue, Aug 22, 2023 at 3:55 PM Mario<br>
> > > >>> Marietto <<br>
> > > >>> > > > >>>> > > > > <a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a><br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > wrote:<br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > > I've already did that :<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > # apt install qemu-efi-arm<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > Reading package lists... Done<br>
> > > >>> > > > >>>> > > > > > >>> > > Building dependency tree... Done<br>
> > > >>> > > > >>>> > > > > > >>> > > Reading state information... Done<br>
> > > >>> > > > >>>> > > > > > >>> > > qemu-efi-arm is already the newest<br>
> > version<br>
> > > >>> > > > >>>> (2022.11-6).<br>
> > > >>> > > > >>>> > > > > > >>> > > qemu-efi-arm set to manually installed.<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > if I don't get wrong,that package do the<br>
> > > >>> > > installation<br>
> > > >>> > > > >>>> of the<br>
> > > >>> > > > >>>> > > > > > >>> following<br>
> > > >>> > > > >>>> > > > > > >>> > > files :<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > root@devuan:/usr/share/AAVMF# ls<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > AAVMF32_CODE.fd  AAVMF_CODE.fd<br>
> > > >>> > > > >>>>  AAVMF_CODE.snakeoil.fd<br>
> > > >>> > > > >>>> > > > > > >>> > >  AAVMF_VARS.ms.fd<br>
> > > >>> > > > >>>> > > > > > >>> > > AAVMF32_VARS.fd  AAVMF_CODE.ms.fd<br>
> > > >>> AAVMF_VARS.fd<br>
> > > >>> > > > >>>> > > > > > >>> > >           AAVMF_VARS.snakeoil.fd<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > in my case they have been correctly<br>
> > placed<br>
> > > >>> under<br>
> > > >>> > > > >>>> > > /usr/share/AAVMF<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > I'm not sure that the problem is there.<br>
> > The<br>
> > > >>> error<br>
> > > >>> > > > >>>> message<br>
> > > >>> > > > >>>> > > talks<br>
> > > >>> > > > >>>> > > > > > >>> about the<br>
> > > >>> > > > >>>> > > > > > >>> > > libvirt version that could be wrong.<br>
> > What<br>
> > > >>> about<br>
> > > >>> > > if I<br>
> > > >>> > > > >>>> > > retrocede<br>
> > > >>> > > > >>>> > > > > > >>> libirt 7.0<br>
> > > >>> > > > >>>> > > > > > >>> > > to 6.9 for example. Why 6.9 ?<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > As you can read below,it supports qemu<br>
> > 5.0<br>
> > > >>> and<br>
> > > >>> > > > >>>> newer...<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > v6.9.0 (2020-11-02)<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >    -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >    *New features*<br>
> > > >>> > > > >>>> > > > > > >>> > >    -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       nodedev: Add support for channel<br>
> > > >>> subsystem<br>
> > > >>> > > (CSS)<br>
> > > >>> > > > >>>> > > devices on<br>
> > > >>> > > > >>>> > > > > > >>> S390<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       A CSS device is represented as a<br>
> > > >>> parent<br>
> > > >>> > > device<br>
> > > >>> > > > >>>> of a CCW<br>
> > > >>> > > > >>>> > > > > device.<br>
> > > >>> > > > >>>> > > > > > >>> > >       This support allows to create<br>
> > vfio-ccw<br>
> > > >>> > > mediated<br>
> > > >>> > > > >>>> devices<br>
> > > >>> > > > >>>> > > > > with<br>
> > > >>> > > > >>>> > > > > > >>> > >       virNodeDeviceCreateXML().<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Implement memory failure<br>
> > event<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       New event is implemented that is<br>
> > > >>> emitted<br>
> > > >>> > > > >>>> whenever a<br>
> > > >>> > > > >>>> > > guest<br>
> > > >>> > > > >>>> > > > > > >>> > >       encounters a memory failure.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Implement support for<br>
> > > >>> <transient/><br>
> > > >>> > > disks<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       VMs based on the QEMU hypervisor<br>
> > now<br>
> > > >>> can use<br>
> > > >>> > > > >>>> > > <transient/><br>
> > > >>> > > > >>>> > > > > > >>> option<br>
> > > >>> > > > >>>> > > > > > >>> > >       for local file-backed disks to<br>
> > > >>> configure a<br>
> > > >>> > > disk<br>
> > > >>> > > > >>>> which<br>
> > > >>> > > > >>>> > > > > discards<br>
> > > >>> > > > >>>> > > > > > >>> changes made<br>
> > > >>> > > > >>>> > > > > > >>> > >       to it while the VM was active.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       hyperv: implement new APIs<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       The virConnectGetCapabilities(),<br>
> > > >>> > > > >>>> > > virConnectGetMaxVcpus(),<br>
> > > >>> > > > >>>> > > > > > >>> > >       virConnectGetVersion(),<br>
> > > >>> > > virDomainGetAutostart(),<br>
> > > >>> > > > >>>> > > > > > >>> > >       virDomainSetAutostart(),<br>
> > > >>> > > virNodeGetFreeMemory(),<br>
> > > >>> > > > >>>> > > > > > >>> virDomainReboot(),<br>
> > > >>> > > > >>>> > > > > > >>> > >       virDomainReset(),<br>
> > > >>> virDomainShutdown(), and<br>
> > > >>> > > > >>>> > > > > > >>> virDomainShutdownFlags()<br>
> > > >>> > > > >>>> > > > > > >>> > >       APIs have been implemented in the<br>
> > > >>> Hyper-V<br>
> > > >>> > > > >>>> driver.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       bhyve: implement virtio-9p<br>
> > filesystem<br>
> > > >>> > > support<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Implement virito-9p shared<br>
> > filesystem<br>
> > > >>> using<br>
> > > >>> > > the<br>
> > > >>> > > > >>>> > > > > <filesystem/><br>
> > > >>> > > > >>>> > > > > > >>> > >       element.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Add support for vDPA network<br>
> > > >>> devices.<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       VMs using the QEMU hypervisor can<br>
> > now<br>
> > > >>> > > specify<br>
> > > >>> > > > >>>> vDPA<br>
> > > >>> > > > >>>> > > network<br>
> > > >>> > > > >>>> > > > > > >>> devices<br>
> > > >>> > > > >>>> > > > > > >>> > >       using <interface type='vdpa'>. The<br>
> > > >>> node<br>
> > > >>> > > device<br>
> > > >>> > > > >>>> APIs<br>
> > > >>> > > > >>>> > > also<br>
> > > >>> > > > >>>> > > > > now<br>
> > > >>> > > > >>>> > > > > > >>> list<br>
> > > >>> > > > >>>> > > > > > >>> > >       and provide XML descriptions for<br>
> > vDPA<br>
> > > >>> > > devices.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       cpu_map: Add EPYC-Rome CPU model<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       *It's supported in QEMU 5.0.0 and<br>
> > > >>> newer.*<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       cpu: Add a flag for XML<br>
> > validation in<br>
> > > >>> CPU<br>
> > > >>> > > > >>>> comparison<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       The virConnectCompareCPU and<br>
> > > >>> > > > >>>> > > virConnectCompareHypervisorCPU<br>
> > > >>> > > > >>>> > > > > > >>> API now<br>
> > > >>> > > > >>>> > > > > > >>> > >       support the<br>
> > > >>> > > > >>>> VIR_CONNECT_COMPARE_CPU_VALIDATE_XML flag,<br>
> > > >>> > > > >>>> > > > > which<br>
> > > >>> > > > >>>> > > > > > >>> > >       enables XML validation. For virsh,<br>
> > > >>> this<br>
> > > >>> > > feature<br>
> > > >>> > > > >>>> is<br>
> > > >>> > > > >>>> > > enabled<br>
> > > >>> > > > >>>> > > > > by<br>
> > > >>> > > > >>>> > > > > > >>> passing the<br>
> > > >>> > > > >>>> > > > > > >>> > >       --validate option to the<br>
> > cpu-compare<br>
> > > >>> and<br>
> > > >>> > > > >>>> > > > > hypervisor-cpu-compare<br>
> > > >>> > > > >>>> > > > > > >>> > >       subcommands.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Introduce virtio-balloon<br>
> > free<br>
> > > >>> page<br>
> > > >>> > > > >>>> reporting<br>
> > > >>> > > > >>>> > > feature<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Introduce the optional attribute<br>
> > > >>> > > > >>>> free-page-reporting<br>
> > > >>> > > > >>>> > > for<br>
> > > >>> > > > >>>> > > > > virtio<br>
> > > >>> > > > >>>> > > > > > >>> > >       memballoon device. It<br>
> > > >>> enables/disables the<br>
> > > >>> > > > >>>> ability of<br>
> > > >>> > > > >>>> > > the<br>
> > > >>> > > > >>>> > > > > QEMU<br>
> > > >>> > > > >>>> > > > > > >>> virtio<br>
> > > >>> > > > >>>> > > > > > >>> > >       memory balloon to return unused<br>
> > pages<br>
> > > >>> back<br>
> > > >>> > > to<br>
> > > >>> > > > >>>> the<br>
> > > >>> > > > >>>> > > > > hypervisor.<br>
> > > >>> > > > >>>> > > > > > >>> QEMU 5.1 and<br>
> > > >>> > > > >>>> > > > > > >>> > >       newer support this feature.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >    *Improvements*<br>
> > > >>> > > > >>>> > > > > > >>> > >    -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Make 'cbitpos' &<br>
> > > >>> 'reducedPhysBits'<br>
> > > >>> > > attrs<br>
> > > >>> > > > >>>> optional<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Libvirt probes the underlying<br>
> > > >>> platform in<br>
> > > >>> > > order<br>
> > > >>> > > > >>>> to<br>
> > > >>> > > > >>>> > > fill in<br>
> > > >>> > > > >>>> > > > > > >>> these<br>
> > > >>> > > > >>>> > > > > > >>> > >       SEV attributes automatically<br>
> > before<br>
> > > >>> > > launching a<br>
> > > >>> > > > >>>> guest.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       util: support device stats<br>
> > collection<br>
> > > >>> for<br>
> > > >>> > > > >>>> SR-IOV VF<br>
> > > >>> > > > >>>> > > hostdev<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       For SR-IOV VF hostdevs, libvirt<br>
> > now<br>
> > > >>> supports<br>
> > > >>> > > > >>>> retrieving<br>
> > > >>> > > > >>>> > > > > device<br>
> > > >>> > > > >>>> > > > > > >>> > >       traffic stats via the<br>
> > > >>> > > virDomainInterfaceStats<br>
> > > >>> > > > >>>> API and<br>
> > > >>> > > > >>>> > > virsh<br>
> > > >>> > > > >>>> > > > > > >>> > >       domifstat.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       logging: Allow disabling log<br>
> > rollover<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Set max_len=0 in virtlogd.conf to<br>
> > > >>> disable<br>
> > > >>> > > log<br>
> > > >>> > > > >>>> rollover.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: Set noqueue qdisc for TAP<br>
> > > >>> devices<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Set noqueue instead of the former<br>
> > > >>> pfifo_fast<br>
> > > >>> > > > >>>> queue<br>
> > > >>> > > > >>>> > > > > discipline<br>
> > > >>> > > > >>>> > > > > > >>> for<br>
> > > >>> > > > >>>> > > > > > >>> > >       TAP devices. It will avoid<br>
> > needless<br>
> > > >>> cost of<br>
> > > >>> > > > >>>> host CPU<br>
> > > >>> > > > >>>> > > cycles<br>
> > > >>> > > > >>>> > > > > > >>> and thus<br>
> > > >>> > > > >>>> > > > > > >>> > >       improve performance.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       qemu: virtiofs can be used without<br>
> > > >>> NUMA<br>
> > > >>> > > nodes<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Virtiofs is supported for the VM<br>
> > > >>> without<br>
> > > >>> > > NUMA<br>
> > > >>> > > > >>>> nodes but<br>
> > > >>> > > > >>>> > > > > > >>> configured<br>
> > > >>> > > > >>>> > > > > > >>> > >       with shared memory.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >    *Bug fixes*<br>
> > > >>> > > > >>>> > > > > > >>> > >    -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       hyperv: ensure WQL queries work<br>
> > in all<br>
> > > >>> > > locales<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       Relying on the "Description" field<br>
> > > >>> caused<br>
> > > >>> > > > >>>> queries to<br>
> > > >>> > > > >>>> > > fail<br>
> > > >>> > > > >>>> > > > > on<br>
> > > >>> > > > >>>> > > > > > >>> > >       non-"en-US" systems. The queries<br>
> > have<br>
> > > >>> been<br>
> > > >>> > > > >>>> updated to<br>
> > > >>> > > > >>>> > > avoid<br>
> > > >>> > > > >>>> > > > > > >>> using localized<br>
> > > >>> > > > >>>> > > > > > >>> > >       strings.<br>
> > > >>> > > > >>>> > > > > > >>> > >       -<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       rpc: Fix virt-ssh-helper detection<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >       libvirt 6.8.0 failed to correctly<br>
> > > >>> detect the<br>
> > > >>> > > > >>>> > > availability<br>
> > > >>> > > > >>>> > > > > of<br>
> > > >>> > > > >>>> > > > > > >>> the<br>
> > > >>> > > > >>>> > > > > > >>> > >       new virt-ssh-helper command on the<br>
> > > >>> remote<br>
> > > >>> > > host,<br>
> > > >>> > > > >>>> and<br>
> > > >>> > > > >>>> > > thus<br>
> > > >>> > > > >>>> > > > > always<br>
> > > >>> > > > >>>> > > > > > >>> > >       used the fallback instead; this<br>
> > has<br>
> > > >>> now been<br>
> > > >>> > > > >>>> fixed.<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > What do you think ? Can you share some<br>
> > > >>> > > documentation<br>
> > > >>> > > > >>>> about<br>
> > > >>> > > > >>>> > > how to<br>
> > > >>> > > > >>>> > > > > > >>> > > recompile an older version of libvirt<br>
> > from<br>
> > > >>> source<br>
> > > >>> > > > >>>> code ?<br>
> > > >>> > > > >>>> > > thanks.<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > On Tue, Aug 22, 2023 at 3:35 PM Pavel<br>
> > > >>> Hrdina <<br>
> > > >>> > > > >>>> > > <a href="mailto:phrdina@redhat.com" target="_blank">phrdina@redhat.com</a><br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > >>> wrote:<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > >> On Tue, Aug 22, 2023 at 02:49:05PM<br>
> > +0200,<br>
> > > >>> Mario<br>
> > > >>> > > > >>>> Marietto<br>
> > > >>> > > > >>>> > > wrote:<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Hello to everyone.<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > I'm trying to use qemu 5.1 with<br>
> > > >>> virt-manager<br>
> > > >>> > > and<br>
> > > >>> > > > >>>> libvirt<br>
> > > >>> > > > >>>> > > on<br>
> > > >>> > > > >>>> > > > > my ARM<br>
> > > >>> > > > >>>> > > > > > >>> > >> > chromebook (armhf 32 bit cpu) running<br>
> > > >>> with<br>
> > > >>> > > Devuan<br>
> > > >>> > > > >>>> 4 as<br>
> > > >>> > > > >>>> > > host<br>
> > > >>> > > > >>>> > > > > o.s.<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > By default it uses qemu and its<br>
> > > >>> > > > >>>> dependencies,version 5.2.<br>
> > > >>> > > > >>>> > > I<br>
> > > >>> > > > >>>> > > > > > >>> remember<br>
> > > >>> > > > >>>> > > > > > >>> > >> that I<br>
> > > >>> > > > >>>> > > > > > >>> > >> > can't use qemu 5.2,because it doesn't<br>
> > > >>> have any<br>
> > > >>> > > > >>>> support for<br>
> > > >>> > > > >>>> > > > > KVM as<br>
> > > >>> > > > >>>> > > > > > >>> you<br>
> > > >>> > > > >>>> > > > > > >>> > >> can<br>
> > > >>> > > > >>>> > > > > > >>> > >> > read here :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > ><br>
> > > >>> > ><br>
> > <a href="https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg02074.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg02074.html</a><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > For this reason,I've compiled qemu<br>
> > 5.1<br>
> > > >>> from<br>
> > > >>> > > > >>>> source. Below<br>
> > > >>> > > > >>>> > > I<br>
> > > >>> > > > >>>> > > > > shown<br>
> > > >>> > > > >>>> > > > > > >>> how I<br>
> > > >>> > > > >>>> > > > > > >>> > >> > have configured everything such as a<br>
> > > >>> little<br>
> > > >>> > > piece<br>
> > > >>> > > > >>>> of<br>
> > > >>> > > > >>>> > > > > compilation<br>
> > > >>> > > > >>>> > > > > > >>> > >> messages :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > # apt install libgtk-3-dev<br>
> > libpulse-dev<br>
> > > >>> > > libgbm-dev<br>
> > > >>> > > > >>>> > > > > > >>> libspice-protocol-dev<br>
> > > >>> > > > >>>> > > > > > >>> > >> > libspice-server-dev libusb-1.0-0-dev<br>
> > > >>> > > libepoxy-dev<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > # cp<br>
> > > >>> > > > >>>> /root/Desktop/qemu-v5.1.0/arm-softmmu/qemu-system-arm<br>
> > > >>> > > > >>>> > > > > > >>> /usr/bin<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > # CFLAGS=-Wno-error ./configure<br>
> > > >>> > > > >>>> > > --target-list=x86_64-softmmu<br>
> > > >>> > > > >>>> > > > > > >>> > >> --enable-opengl<br>
> > > >>> > > > >>>> > > > > > >>> > >> > --enable-gtk --enable-kvm<br>
> > > >>> --enable-guest-agent<br>
> > > >>> > > > >>>> > > --enable-spice<br>
> > > >>> > > > >>>> > > > > > >>> > >> --audio-drv-<br>
> > > >>> > > > >>>> > > > > > >>> > >> > list="oss pa" --enable-libusb<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > A little piece of the log messages<br>
> > that<br>
> > > >>> I've<br>
> > > >>> > > got<br>
> > > >>> > > > >>>> from the<br>
> > > >>> > > > >>>> > > > > > >>> compilation of<br>
> > > >>> > > > >>>> > > > > > >>> > >> > qemu 5.1 :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> <a href="https://pastebin.ubuntu.com/p/8DYfgPvhXy/" rel="noreferrer" target="_blank">https://pastebin.ubuntu.com/p/8DYfgPvhXy/</a><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > These are the resulting versions of<br>
> > my<br>
> > > >>> > > frankenstein<br>
> > > >>> > > > >>>> > > operation<br>
> > > >>> > > > >>>> > > > > :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > # virsh version<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > Compiled against library: libvirt<br>
> > 7.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using library: libvirt 7.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using API: QEMU 7.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Running hypervisor: QEMU 5.1.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > At this point I ran virt-manager. It<br>
> > has<br>
> > > >>> been<br>
> > > >>> > > able<br>
> > > >>> > > > >>>> to<br>
> > > >>> > > > >>>> > > detect<br>
> > > >>> > > > >>>> > > > > > >>> qemu,but I<br>
> > > >>> > > > >>>> > > > > > >>> > >> get<br>
> > > >>> > > > >>>> > > > > > >>> > >> > the following error :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > Warning : Failed to set up UEFI.<br>
> > > >>> > > > >>>> > > > > > >>> > >> > The Libvirt version does not support<br>
> > > >>> UEFI.<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Install options are limited.<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > (I have also tried upgrading devuan 4<br>
> > > >>> with<br>
> > > >>> > > devuan<br>
> > > >>> > > > >>>> 5 and<br>
> > > >>> > > > >>>> > > I've<br>
> > > >>> > > > >>>> > > > > got<br>
> > > >>> > > > >>>> > > > > > >>> the<br>
> > > >>> > > > >>>> > > > > > >>> > >> same<br>
> > > >>> > > > >>>> > > > > > >>> > >> > error :<br>
> > > >>> > > > >>>> > > > > > >>> > >><br>
> > > >>> > > > >>>> > > > > > >>> > >> You most likely need to install<br>
> > > >>> qemu-efi-arm<br>
> > > >>> > > package<br>
> > > >>> > > > >>>> which<br>
> > > >>> > > > >>>> > > > > should<br>
> > > >>> > > > >>>> > > > > > >>> > >> provide 32bit arm firmware files. The<br>
> > > >>> package<br>
> > > >>> > > name<br>
> > > >>> > > > >>>> is a bit<br>
> > > >>> > > > >>>> > > > > > >>> confusing<br>
> > > >>> > > > >>>> > > > > > >>> > >> as it doesn't originate from qemu<br>
> > project,<br>
> > > >>> it is<br>
> > > >>> > > > >>>> from edk2<br>
> > > >>> > > > >>>> > > > > project.<br>
> > > >>> > > > >>>> > > > > > >>> > >><br>
> > > >>> > > > >>>> > > > > > >>> > >> Without this package libvirt most<br>
> > likely<br>
> > > >>> doesn't<br>
> > > >>> > > > >>>> report any<br>
> > > >>> > > > >>>> > > efi<br>
> > > >>> > > > >>>> > > > > > >>> files<br>
> > > >>> > > > >>>> > > > > > >>> > >> and that's what causes the error you<br>
> > are<br>
> > > >>> hitting.<br>
> > > >>> > > > >>>> > > > > > >>> > >><br>
> > > >>> > > > >>>> > > > > > >>> > >> Pavel<br>
> > > >>> > > > >>>> > > > > > >>> > >><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > root@devuan:/usr/bin# virsh version<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > Compiled against library: libvirt<br>
> > 9.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using library: libvirt 9.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using API: QEMU 9.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Running hypervisor: QEMU 5.1.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > If I change qemu-system-arm vers. 5.1<br>
> > > >>> with<br>
> > > >>> > > > >>>> qemu-system-arm<br>
> > > >>> > > > >>>> > > > > > >>> 5.2,the error<br>
> > > >>> > > > >>>> > > > > > >>> > >> > disappears. So,it seems that libvirt<br>
> > > >>> does not<br>
> > > >>> > > > >>>> accept<br>
> > > >>> > > > >>>> > > > > > >>> qemu-system-arm<br>
> > > >>> > > > >>>> > > > > > >>> > >> vers.<br>
> > > >>> > > > >>>> > > > > > >>> > >> > 5.1 or maybe any version lower than<br>
> > > >>> 5.2,I don't<br>
> > > >>> > > > >>>> know. But<br>
> > > >>> > > > >>>> > > as<br>
> > > >>> > > > >>>> > > > > I've<br>
> > > >>> > > > >>>> > > > > > >>> said,I<br>
> > > >>> > > > >>>> > > > > > >>> > >> > can't use any version of qemu<br>
> > greater or<br>
> > > >>> equal<br>
> > > >>> > > to<br>
> > > >>> > > > >>>> 5.2 on<br>
> > > >>> > > > >>>> > > my<br>
> > > >>> > > > >>>> > > > > > >>> setup. And I<br>
> > > >>> > > > >>>> > > > > > >>> > >> > want to use virt-manager and libvirt<br>
> > > >>> because I<br>
> > > >>> > > > >>>> find these<br>
> > > >>> > > > >>>> > > > > tools<br>
> > > >>> > > > >>>> > > > > > >>> very<br>
> > > >>> > > > >>>> > > > > > >>> > >> > comfortable instead of using the<br>
> > "raw"<br>
> > > >>> qemu<br>
> > > >>> > > > >>>> parameters. Is<br>
> > > >>> > > > >>>> > > > > there a<br>
> > > >>> > > > >>>> > > > > > >>> > >> > workaround ? Maybe I can recompile<br>
> > > >>> virt-manager<br>
> > > >>> > > > >>>> and / or<br>
> > > >>> > > > >>>> > > > > libvirt<br>
> > > >>> > > > >>>> > > > > > >>> from<br>
> > > >>> > > > >>>> > > > > > >>> > >> the<br>
> > > >>> > > > >>>> > > > > > >>> > >> > source code ? but how ? Do you think<br>
> > > >>> that it<br>
> > > >>> > > could<br>
> > > >>> > > > >>>> work<br>
> > > >>> > > > >>>> > > if I<br>
> > > >>> > > > >>>> > > > > use<br>
> > > >>> > > > >>>> > > > > > >>> > >> something<br>
> > > >>> > > > >>>> > > > > > >>> > >> > like this (if it exists and if it<br>
> > can be<br>
> > > >>> > > reached<br>
> > > >>> > > > >>>> in some<br>
> > > >>> > > > >>>> > > way)<br>
> > > >>> > > > >>>> > > > > :<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > Compiled against library: libvirt<br>
> > 5.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using library: libvirt 5.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Using API: QEMU 5.0.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Running hypervisor: QEMU 5.1.0<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > thanks.<br>
> > > >>> > > > >>>> > > > > > >>> > >> ><br>
> > > >>> > > > >>>> > > > > > >>> > >> > --<br>
> > > >>> > > > >>>> > > > > > >>> > >> > Mario.<br>
> > > >>> > > > >>>> > > > > > >>> > >><br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> > > --<br>
> > > >>> > > > >>>> > > > > > >>> > > Mario.<br>
> > > >>> > > > >>>> > > > > > >>> > ><br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> ><br>
> > > >>> > > > >>>> > > > > > >>> > --<br>
> > > >>> > > > >>>> > > > > > >>> > Mario.<br>
> > > >>> > > > >>>> > > > > > >>><br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > >> --<br>
> > > >>> > > > >>>> > > > > > >> Mario.<br>
> > > >>> > > > >>>> > > > > > >><br>
> > > >>> > > > >>>> > > > > > ><br>
> > > >>> > > > >>>> > > > > > ><br>
> > > >>> > > > >>>> > > > > > > --<br>
> > > >>> > > > >>>> > > > > > > Mario.<br>
> > > >>> > > > >>>> > > > > > ><br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > ><br>
> > > >>> > > > >>>> > > > > > --<br>
> > > >>> > > > >>>> > > > > > Mario.<br>
> > > >>> > > > >>>> > > > ><br>
> > > >>> > > > >>>> > > ><br>
> > > >>> > > > >>>> > > ><br>
> > > >>> > > > >>>> > > > --<br>
> > > >>> > > > >>>> > > > Mario.<br>
> > > >>> > > > >>>> > ><br>
> > > >>> > > > >>>> ><br>
> > > >>> > > > >>>> ><br>
> > > >>> > > > >>>> > --<br>
> > > >>> > > > >>>> > Mario.<br>
> > > >>> > > > >>>><br>
> > > >>> > > > >>><br>
> > > >>> > > > >>><br>
> > > >>> > > > >>> --<br>
> > > >>> > > > >>> Mario.<br>
> > > >>> > > > >>><br>
> > > >>> > > > >><br>
> > > >>> > > > >><br>
> > > >>> > > > >> --<br>
> > > >>> > > > >> Mario.<br>
> > > >>> > > > >><br>
> > > >>> > > > ><br>
> > > >>> > > > ><br>
> > > >>> > > > > --<br>
> > > >>> > > > > Mario.<br>
> > > >>> > > > ><br>
> > > >>> > > ><br>
> > > >>> > > ><br>
> > > >>> > > > --<br>
> > > >>> > > > Mario.<br>
> > > >>> > ><br>
> > > >>> > ><br>
> > > >>> > ><br>
> > > >>> ><br>
> > > >>> > --<br>
> > > >>> > Mario.<br>
> > > >>><br>
> > > >><br>
> > > >><br>
> > > >> --<br>
> > > >> Mario.<br>
> > > >><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > Mario.<br>
> > > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Mario.<br>
> ><br>
> <br>
> <br>
> -- <br>
> Mario.<br>
</blockquote></div></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>