Hi adam900710
Thanks for your post.
If its of use to anyone else, I use libvirt with QEMU and KVM on a RPI4 host, with archlinuxarm guests. All has been working fine for months.
I updated all ok as per
[url]https://archlinuxarm.org/forum/viewtopic.php?f=15&t=16037&p=69689&hilit=qemu#p69676
[/url]
I started receiving error receiving a few errors after a power cycle from a powercut.
I tried removing and reinstalling
https://archlinux.org/packages/extra/any/edk2-ovmf/https://archlinux.org/packages/extra/any/seabios/https://archlinux.org/packages/extra/any/edk2-armvirt/with pacman -U as per
[url]https://archlinuxarm.org/forum/viewtopic.php?f=15&t=16037&p=69689&hilit=qemu#p69690
[/url]
then
qemu-system-aarch64
After this, I was still getting the below when trying to start my virtual machine.
error: Path '/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw' is not accessible: No such file or directory
and needed to recreate a new "virtual machine" with libvirt install use the same disk image as my old machine.
when I diffed the qemu xml files produced by libvirt install, the relevant change seemed to be
old xml that produced error above
$this->bbcode_second_pass_code('', ' <os>
<type arch='aarch64' machine='virt-6.1'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw</loader>
<nvram>/var/lib/libvirt/qemu/nvram/x_VARS.fd</nvram>
<boot dev='hd'/>
</os>
')
new xml additions / changes of note (?) that booted virtual machine without error
$this->bbcode_second_pass_code('', '<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://archlinux.org/archlinux/rolling"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>2097152</memory>
...
<os firmware='efi'>
<type arch='aarch64' machine='virt-7.0'>hvm</type>
<boot dev='hd'/>
</os>')