Internal Error: libxenlight failed to create new domain "FreeBSD-13.2"
by marietto2008@gmail.com
Hello to everyone.
I'm trying to use xen as a hypervisor instead of kvm to boot FreeBSD on my ARM Chromebook where I have installed Devuan 5. A developer said that it can work. In fact he said :
"That might work. libvirt + virt-manager with the xen accelerator might work on the ARM Chromebook. That's because as far as I know Xen integration in libvirt is done via linking to libxl directly and libxl is supported and working on ARM"
Unfortunately something is not working properly. What I did has been to reboot the machine in xen,enable libvirtd & and virtlogd & and virt-manager &,but this is what happened :
root@devuan-bunsen:/Dati/virt-manager-4.1.0# ./virt-manager &
[3] 2507
root@devuan-bunsen:/Dati/virt-manager-4.1.0# info : libvirt version: 9.7.0
info : hostname: devuan-bunsen
error : virConnectGetAllDomainStats:12595 : this function is not supported by the connection driver: virConnectGetAllDomainStats
error : virDomainListAllSnapshots:519 : this function is not supported by the connection driver: virDomainListAllSnapshots
[3]+ Completed ./virt-manager
root@devuan-bunsen:/mnt/zroot2/zroot2# error : libxlDomainStartPerform:1256 : internal error: libxenlight failed to create new domain 'FreeBSD-13.2
Traceback (most recent call last):
File "/Dati/virt-manager-4.1.0/./virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/Dati/virt-manager-4.1.0/./virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/Dati/virt-manager-4.1.0/./virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
^^^^^^^^^^^^^^^^^^^
File "/Dati/virt-manager-4.1.0/./virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/libvirt.py", line 4481, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: libxenlight failed to create new domain 'FreeBSD-13.2'
you may also be interested to give a look at this picture :
https://ibb.co/Lh0xkfy
...between the running processes I see this :
# ps ax | grep qemu
1507 ? Sl 0:00 /usr/libexec/xen-qemu-system-i386 -xen-domid 0 -xen-attach -name dom0 -no graphic -M xenpv -daemonize -monitor none -serial none -parallel none -pidfile /run/qemu-dom0.pid
The interesting point is that it is using xen-qemu-system-i386. Is it supposed to work on an ARM architecture ? What's the problem that I may have now ?