Hello,
I have been trying (unsuccessfully) to use libvirt
to run a Windows 11 (on ARM) virtual machine. Rock 5b 16 GB RAM.
Everything seems to work up to the point of trying to boot the system. This is the error:
Unable to complete install: 'internal error: qemu unexpectedly closed the monitor: 2023-11-22T22:25:37.427436Z qemu-system-aarch64: device requires 67108864 bytes, block backend provides 131072 bytes'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
File "/usr/share/virt-manager/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 4400, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2023-11-22T22:25:37.427436Z qemu-system-aarch64: device requires 67108864 bytes, block backend provides 131072 bytes
The UEFI files are provided by the package qemu-efi-aarch64
and are decidedly 64 MB in size. I added the SPICE server and video output. I tried using other UEFI images (padded OVMF, padded self-compiled edk2 for aarch64, images copied from an amd64 version of the qemu-efi-aarch64
package for Mantic) with the same results. I used the guides available online to pad the images with dd
, same result every time.
QEMU emulation of x86_64 systems works fine.
The host system is Armbian (Ubuntu Jammy), kernel:
Linux rock-5b 5.10.110-rockchip-rk3588 #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Any ideas will be appreciated. Also, do I have to disable the first 4 cores for the KVM virtualization to work - and otherwise it will be qemu?