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 compiled qemu 5.1 from source. Below I shown how I have configured everything such as a little piece of compilation messages :


# apt install libgtk-3-dev libpulse-dev libgbm-dev libspice-protocol-dev
libspice-server-dev libusb-1.0-0-dev libepoxy-dev

# cd /usr/share
# mv qemu qemu_

# cd /usr/lib
# mv qemu qemu_

# cd /usr/lib/arm-linux-gnueabihf
# mv qemu qemu_

# cd /usr/lib/ipxe
# mv qemu qemu_

# cd /usr/share/bash-completion/completions/
# mv qemu qemu_
# mv qemu-kvm qemu-kvm_
# mv qemu-system-i386 qemu-system-i386_
# mv qemu-system-x86_64 qemu-system-x86_64_

# cd /usr/bin
# mv qemu-system-arm qemu-system-arm_

# cp /root/Desktop/qemu-v5.1.0/arm-softmmu/qemu-system-arm /usr/bin

# CFLAGS=-Wno-error ./configure --target-list=x86_64-softmmu --enable-opengl
--enable-gtk --enable-kvm --enable-guest-agent --enable-spice --audio-drv-
list="oss pa" --enable-libusb


A little piece of the log messages that I've got from the compilation of qemu 5.1 :


https://pastebin.ubuntu.com/p/8DYfgPvhXy/


These are the resulting versions of my frankenstein operation :


# virsh version

Compiled against library: libvirt 7.0.0 
Using library: libvirt 7.0.0 
Using API: QEMU 7.0.0 
Running hypervisor: QEMU 5.1.0


At this point I've run virt-manager. It has been able to detect qemu,but I get the following error :


Warning : Failed to set up UEFI. 
The Libvirt version does not support UEFI. 
Install options are limited.


Do you have some suggestions to give me to fix this error ? I'm sure to have missed something, thanks.

--
Mario.